From: raster Date: Wed, 25 Aug 2010 09:25:36 +0000 (+0000) Subject: alloca header fix for edje. X-Git-Tag: submit/trunk/20120815.180907~930 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=159c4fc43fcb8e8d2b580490de026cb27110dc00;p=profile%2Fivi%2Fedje.git alloca header fix for edje. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@51634 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_private.h b/src/lib/edje_private.h index 7189511..b718edb 100644 --- a/src/lib/edje_private.h +++ b/src/lib/edje_private.h @@ -9,6 +9,20 @@ # 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 +void *alloca (size_t); +#endif + #include #include #include