summaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 8ecbfcb7a4..b30a9e5bf5 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -29,6 +29,7 @@ Cambridge, MA 02139, USA. */
#ifdef __GNUC__
# define alloca __builtin_alloca
+# define HAVE_ALLOCA 1
#else
# if defined HAVE_ALLOCA_H || defined _LIBC
# include <alloca.h>
@@ -78,10 +79,6 @@ void free ();
#endif
-#ifdef _LIBC
-#define HAVE_ALLOCA 1
-#endif
-
/* For those loosing systems which don't have `alloca' we have to add
some additional code emulating it. */
#ifdef HAVE_ALLOCA