From 606463054338d873667edc5abebc62f0131d73ba Mon Sep 17 00:00:00 2001 From: caro Date: Wed, 19 Aug 2009 10:58:38 +0000 Subject: [PATCH] add alloca() declaration git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@41874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eet_cipher.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/lib/eet_cipher.c b/src/lib/eet_cipher.c index 6064a16..3bc0b5a 100644 --- a/src/lib/eet_cipher.c +++ b/src/lib/eet_cipher.c @@ -2,6 +2,23 @@ # include #endif +#ifdef HAVE_ALLOCA_H +# include +#elif defined __GNUC__ +# define alloca __builtin_alloca +#elif defined _AIX +# define alloca __alloca +#elif defined _MSC_VER +# include +# define alloca _alloca +#else +# include +# ifdef __cplusplus +extern "C" +# endif +void *alloca (size_t); +#endif + #include #include #include -- 2.7.4