]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - argp/argp-help.c
Update.
[thirdparty/glibc.git] / argp / argp-help.c
index baa54c91d646f7faaa900cbb8dc1fcf8372bbda8..616db9b47c97ee684340f5fe041fa4af2833f241 100644 (file)
 #include <config.h>
 #endif
 
+#ifndef alloca
+# ifdef __GNUC__
+#  define alloca __builtin_alloca
+#  define HAVE_ALLOCA 1
+# else
+#  if defined HAVE_ALLOCA_H || defined _LIBC
+#   include <alloca.h>
+#  else
+#   ifdef _AIX
+ #pragma alloca
+#   else
+#    ifndef alloca
+char *alloca ();
+#    endif
+#   endif
+#  endif
+# endif
+#endif
+
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>