From a6607aaf42e7d7d3d0c9454e08ce3af2304ac1c2 Mon Sep 17 00:00:00 2001 From: caro Date: Sun, 22 Jan 2012 12:08:06 +0000 Subject: [PATCH] Eina: remove warning when compiling with mingw-w64 git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@67447 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_prefix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/eina_prefix.c b/src/lib/eina_prefix.c index 5b4b0c0..4bd6be0 100644 --- a/src/lib/eina_prefix.c +++ b/src/lib/eina_prefix.c @@ -31,7 +31,9 @@ #ifdef HAVE_ALLOCA_H # include #elif defined __GNUC__ -# define alloca __builtin_alloca +# ifndef alloca +# define alloca __builtin_alloca +# endif #elif defined _AIX # define alloca __alloca #elif defined _MSC_VER -- 2.7.4