summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-23 20:25:52 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-23 20:25:52 +0000
commitc2b4b45023f85407a9874c600cecb78c7fdfbacf (patch)
treef1b72c57c5a880c8277bfdc250a1438f33bea64d /legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
parentb67bef4ed00df6f95f12dfe1e6ee653c9f623821 (diff)
ecore: alloca
SVN revision: 79577
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
index a5824532fb..bfd8497871 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
@@ -2,6 +2,24 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
5#include <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7 25