From 0a2d116119e365c8fbf6324f02f94c3f89fb864a Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 3 Jan 2013 15:10:34 +0000 Subject: efl: eina_alloca.h to simplify alloca() usage. having to replicate 18 lines per file just to access alloca() is insane. Let's do that in Eina.h and avoid that crap :-/ SVN revision: 82082 --- src/lib/embryo/embryo_str.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/lib/embryo/embryo_str.c') diff --git a/src/lib/embryo/embryo_str.c b/src/lib/embryo/embryo_str.c index 0c2faa2d15..3f180cef00 100644 --- a/src/lib/embryo/embryo_str.c +++ b/src/lib/embryo/embryo_str.c @@ -10,23 +10,6 @@ # include # endif #endif -#ifdef HAVE_ALLOCA_H -# include -#elif !defined alloca -# ifdef __GNUC__ -# define alloca __builtin_alloca -# elif defined _AIX -# define alloca __alloca -# elif defined _MSC_VER -# include -# define alloca _alloca -# elif !defined HAVE_ALLOCA -# ifdef __cplusplus -extern "C" -# endif -void *alloca (size_t); -# endif -#endif #ifdef HAVE_EXOTIC # include -- cgit v1.2.1