5 #if defined (__GLIBC__) && defined(__LCLINT__)
8 extern __const __int32_t
*__ctype_tolower
;
10 extern __const __int32_t
*__ctype_toupper
;
33 /* access macros are not declared in non posix mode in unistd.h -
34 don't try to use posix on NeXTstep 3.3 ! */
38 #if defined(__LCLINT__)
39 /*@-declundef -incondefs -redecl@*/ /* LCL: missing annotation */
40 /*@only@*/ void * alloca (size_t __size
)
41 /*@ensures MaxSet(result) == (__size - 1) @*/
43 /*@=declundef =incondefs =redecl@*/
46 /* AIX requires this to be the first thing in the file. */
54 # ifndef alloca /* predefined by HP cc +Olibcalls */
59 #elif defined(__GNUC__) && defined(__STRICT_ANSI__)
60 #define alloca __builtin_alloca
64 /*@mayexit@*/ /*@only@*/ char * xstrdup (const char *str
)
68 #if HAVE_MCHECK_H && defined(__GNUC__)
69 #define vmefail() (fprintf(stderr, "virtual memory exhausted.\n"), exit(EXIT_FAILURE), NULL)
70 #define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str)))
72 #define xstrdup(_str) strdup(_str)
73 #endif /* HAVE_MCHECK_H && defined(__GNUC__) */