summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-03 06:09:33 +0100
committerCedric BAIL <cedric@osg.samsung.com>2018-01-04 12:57:43 -0800
commit9b2c0d0988970d3c1b60ffd2ca9429cf096ebc84 (patch)
tree98b317230f15a98c319cfba8a0786d2417b5b2b0
parent6afcd9b2a1f54d1f870ada578337583811ccea1f (diff)
elementary: alloca is already declared in eina_alloca.h
-rw-r--r--src/bin/elementary/elm_prefs_cc_parse.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/bin/elementary/elm_prefs_cc_parse.c b/src/bin/elementary/elm_prefs_cc_parse.c
index 7305dbc772..b86ab64e09 100644
--- a/src/bin/elementary/elm_prefs_cc_parse.c
+++ b/src/bin/elementary/elm_prefs_cc_parse.c
@@ -2,23 +2,6 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#ifdef HAVE_ALLOCA_H
6# include <alloca.h>
7#elif defined __GNUC__
8# define alloca __builtin_alloca
9#elif defined _AIX
10# define alloca __alloca
11#elif defined _MSC_VER
12# include <malloc.h>
13# define alloca _alloca
14#else
15# include <stddef.h>
16# ifdef __cplusplus
17extern "C"
18# endif
19void *alloca(size_t);
20#endif
21
22#include <string.h> 5#include <string.h>
23#include <ctype.h> 6#include <ctype.h>
24#include <limits.h> 7#include <limits.h>