efl/edje: remove alloca as it's in eina now.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 7 Jan 2013 23:30:06 +0000 (23:30 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 7 Jan 2013 23:30:06 +0000 (23:30 +0000)
SVN revision: 82372

src/bin/edje/edje_cc_out.c
src/bin/edje/edje_cc_parse.c
src/lib/edje/edje_private.h

index 9fd34b6..bdd213b 100644 (file)
 #  include <stdlib.h>
 # endif
 #endif
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#elif !defined alloca
-# ifdef __GNUC__
-#  define alloca __builtin_alloca
-# elif defined _AIX
-#  define alloca __alloca
-# elif defined _MSC_VER
-#  include <malloc.h>
-#  define alloca _alloca
-# elif !defined HAVE_ALLOCA
-#  ifdef  __cplusplus
-extern "C"
-#  endif
-void *alloca (size_t);
-# endif
-#endif
 
 #include <string.h>
 #include <limits.h>
index f7aa932..d2ce018 100644 (file)
@@ -2,23 +2,6 @@
 # include <config.h>
 #endif
 
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#elif defined __GNUC__
-# define alloca __builtin_alloca
-#elif defined _AIX
-# define alloca __alloca
-#elif defined _MSC_VER
-# include <malloc.h>
-# define alloca _alloca
-#else
-# include <stddef.h>
-# ifdef  __cplusplus
-extern "C"
-# endif
-void *alloca (size_t);
-#endif
-
 #include <string.h>
 #include <ctype.h>
 #include <limits.h>
index a1f27a1..ad01a84 100644 (file)
 #  include <stdlib.h>
 # endif
 #endif
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#elif !defined alloca
-# ifdef __GNUC__
-#  define alloca __builtin_alloca
-# elif defined _AIX
-#  define alloca __alloca
-# elif defined _MSC_VER
-#  include <malloc.h>
-#  define alloca _alloca
-# elif !defined HAVE_ALLOCA
-#  ifdef  __cplusplus
-extern "C"
-#  endif
-void *alloca (size_t);
-# endif
-#endif
 
 #include <string.h>
 #include <limits.h>