Don't use any alloca hacks if C_ALLOCA is defined.
authordrepper <drepper>
Sat, 23 May 1998 08:46:05 +0000 (08:46 +0000)
committerdrepper <drepper>
Sat, 23 May 1998 08:46:05 +0000 (08:46 +0000)
intl/dcgettext.c

index 777dd31..2369285 100644 (file)
 
 #include <sys/types.h>
 
-#ifdef __GNUC__
+#if defined __GNUC__ && !defined C_ALLOCA
 # define alloca __builtin_alloca
 # define HAVE_ALLOCA 1
 #else
-# if defined HAVE_ALLOCA_H || defined _LIBC
+# if (defined HAVE_ALLOCA_H || defined _LIBC && !defined C_ALLOCA
 #  include <alloca.h>
 # else
 #  ifdef _AIX