about summary refs log tree commit diff
path: root/intl/dcgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r--intl/dcgettext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 743c85bf22..ba3796d5e0 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -27,6 +27,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>
@@ -162,10 +163,6 @@ static const char *guess_category_value PARAMS ((int category,
 						 const char *categoryname));
 
 
-#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