aboutsummaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
Diffstat (limited to 'intl')
-rw-r--r--intl/dcgettext.c4
-rw-r--r--intl/localealias.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 5c14dca..743c85b 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -162,6 +162,10 @@ 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
diff --git a/intl/localealias.c b/intl/localealias.c
index 57c4a01..8ecbfcb 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -78,6 +78,10 @@ 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