diff src/regex.c @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 6b37e6ddd302
children 15872534500d
line wrap: on
line diff
--- a/src/regex.c	Mon Aug 13 09:42:28 2007 +0200
+++ b/src/regex.c	Mon Aug 13 09:43:35 2007 +0200
@@ -35,17 +35,14 @@
        `#ifdef MULE' or with comments that have `XEmacs' in them.
  */
 
-/* AIX requires this to be the first thing in the file. */
-#if defined (_AIX) && !defined (REGEX_MALLOC)
-  #pragma alloca
-#endif
-
-#define _GNU_SOURCE
-
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
 /* We assume non-Mule if emacs isn't defined. */
 #ifndef emacs
 #undef MULE