cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/lib/regex.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/lib/regex.c
Date: Sun, 04 Sep 2005 01:59:03 -0400

Index: ccvs/lib/regex.c
diff -u ccvs/lib/regex.c:1.20 ccvs/lib/regex.c:1.21
--- ccvs/lib/regex.c:1.20       Fri Aug 12 20:58:10 2005
+++ ccvs/lib/regex.c    Sun Sep  4 05:58:56 2005
@@ -21,30 +21,6 @@
 #include "config.h"
 #endif
 
-#ifdef _AIX
-#pragma alloca
-#else
-# ifndef allocax           /* predefined by HP cc +Olibcalls */
-#  ifdef __GNUC__
-#   define alloca(size) __builtin_alloca (size)
-#  else
-#   if HAVE_ALLOCA_H
-#    include <alloca.h>
-#   else
-#    ifdef __hpux
-        void *alloca ();
-#    else
-#     if !defined __OS2__ && !defined WIN32
-        char *alloca ();
-#     else
-#      include <malloc.h>       /* OS/2 defines alloca in here */
-#     endif
-#    endif
-#   endif
-#  endif
-# endif
-#endif
-
 #ifdef _LIBC
 /* We have to keep the namespace clean.  */
 # define regfree(preg) __regfree (preg)
@@ -69,10 +45,6 @@
 
 # include "../locale/localeinfo.h"
 #endif
-
-/* POSIX says that <sys/types.h> must be included (by the caller) before
-   <regex.h>.  */
-#include <sys/types.h>
 
 /* On some systems, limits.h sets RE_DUP_MAX to a lower value than
    GNU regex allows.  Include it before <regex.h>, which correctly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]