summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 15:10:34 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 15:10:34 +0000
commit0a2d116119e365c8fbf6324f02f94c3f89fb864a (patch)
treef43b26d7600f0a8192fd64873938866afdb1ae3d /src/lib/ecore_file
parentc1d576dcc7fa9485de73f60a7d886e100ad9e147 (diff)
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
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file_path.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/ecore_file/ecore_file_path.c b/src/lib/ecore_file/ecore_file_path.c
index c1c54b7c0f..a368cf35fb 100644
--- a/src/lib/ecore_file/ecore_file_path.c
+++ b/src/lib/ecore_file/ecore_file_path.c
@@ -10,23 +10,6 @@
10# include <stdlib.h> 10# include <stdlib.h>
11# endif 11# endif
12#endif 12#endif
13#ifdef HAVE_ALLOCA_H
14# include <alloca.h>
15#elif !defined alloca
16# ifdef __GNUC__
17# define alloca __builtin_alloca
18# elif defined _AIX
19# define alloca __alloca
20# elif defined _MSC_VER
21# include <malloc.h>
22# define alloca _alloca
23# elif !defined HAVE_ALLOCA
24# ifdef __cplusplus
25extern "C"
26# endif
27void *alloca (size_t);
28# endif
29#endif
30 13
31#include <stdlib.h> 14#include <stdlib.h>
32#include <stdio.h> 15#include <stdio.h>