Eina: remove warning when compiling with mingw-w64
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Jan 2012 12:08:06 +0000 (12:08 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Jan 2012 12:08:06 +0000 (12:08 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@67447 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_prefix.c

index 5b4b0c0..4bd6be0 100644 (file)
@@ -31,7 +31,9 @@
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #elif defined __GNUC__
-# define alloca __builtin_alloca
+# ifndef alloca
+#  define alloca __builtin_alloca
+# endif
 #elif defined _AIX
 # define alloca __alloca
 #elif defined _MSC_VER