1 /* Some autoconf-unrelated preprocessor magic that needs to be done
2 before including the system includes and therefore cannot belong in
3 sysdep.h. This file is included at the bottom of config.h. */
5 /* Alloca-related defines, straight out of the Autoconf manual. */
7 /* AIX requires this to be the first thing in the file. */
15 # ifndef alloca /* predefined by HP cc +Olibcalls */
28 /* The "namespace tweaks" below attempt to set a friendly "compilation
29 environment" under popular operating systems. Default compilation
30 environment often means that some functions that are "extensions"
31 are not declared -- `strptime' is one example.
33 But non-default environments can expose bugs in the system header
34 files, crippling compilation in _very_ non-obvious ways. Because
35 of that, we define them only on well-tested architectures where we
36 know they will work. */
38 #undef NAMESPACE_TWEAKS
41 # define NAMESPACE_TWEAKS
43 /* Prevent stdio.h from declaring va_list and thus tripping gcc's
50 # define NAMESPACE_TWEAKS
53 #ifdef NAMESPACE_TWEAKS
55 /* Request the "Unix 98 compilation environment". */
56 #define _XOPEN_SOURCE 500
58 /* For Solaris: request everything else that is available and doesn't
59 conflict with the above. */
60 #define __EXTENSIONS__
62 /* For Linux: request features of 4.3BSD and SVID (System V Interface
67 #endif /* NAMESPACE_TWEAKS */