21 /* access macros are not declared in non posix mode in unistd.h -
22 don't try to use posix on NeXTstep 3.3 ! */
26 /* AIX requires this to be the first thing in the file. */
34 # ifndef alloca /* predefined by HP cc +Olibcalls */
39 #elif defined(__GNUC__) && defined(__STRICT_ANSI__)
40 #define alloca __builtin_alloca
43 /*@only@*/ char * xstrdup (const char *str
);
45 #if HAVE_MCHECK_H && defined(__GNUC__)
46 #define vmefail() (fprintf(stderr, "virtual memory exhausted.\n"), exit(EXIT_FAILURE), NULL)
47 #define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str)))
49 #define xstrdup(_str) strdup(_str)
50 #endif /* HAVE_MCHECK_H && defined(__GNUC__) */