/[inetutils]/inetutils/lib/regex.c
ViewVC logotype

Diff of /inetutils/lib/regex.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by gray, Sun Jul 31 20:11:00 2005 UTC revision 1.4 by ams, Fri Dec 2 14:00:00 2005 UTC
# Line 18  Line 18 
18     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
19    
20  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
21  #include "config.h"  # 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  
22  #endif  #endif
23    
24  #ifdef _LIBC  #ifdef _LIBC
# Line 70  Line 46 
46  # include "../locale/localeinfo.h"  # include "../locale/localeinfo.h"
47  #endif  #endif
48    
 /* POSIX says that <sys/types.h> must be included (by the caller) before  
    <regex.h>.  */  
 #include <sys/types.h>  
   
49  /* On some systems, limits.h sets RE_DUP_MAX to a lower value than  /* On some systems, limits.h sets RE_DUP_MAX to a lower value than
50     GNU regex allows.  Include it before <regex.h>, which correctly     GNU regex allows.  Include it before <regex.h>, which correctly
51     #undefs RE_DUP_MAX and sets it to the right value.  */     #undefs RE_DUP_MAX and sets it to the right value.  */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26