1 /* Some autoconf-unrelated preprocessor magic that needs to be done
2 *before* including the system includes and therefore cannot belong
5 Everything else related to system tweaking belongs to sysdep.h.
7 This file is included at the bottom of config.h. */
9 /* Alloca-related defines, straight out of the Autoconf manual. */
11 /* AIX requires this to be the first thing in the file. */
19 # ifndef alloca /* predefined by HP cc +Olibcalls */
32 /* The "namespace tweaks" below attempt to set a friendly "compilation
33 environment" under popular operating systems. Default compilation
34 environment often means that some functions that are "extensions"
35 are not declared -- `strptime' is one example.
37 But non-default environments can expose bugs in the system header
38 files, crippling compilation in _very_ non-obvious ways. Because
39 of that, we define them only on well-tested architectures where we
40 know they will work. */
42 #undef NAMESPACE_TWEAKS
45 # define NAMESPACE_TWEAKS
49 # define NAMESPACE_TWEAKS
52 #ifdef NAMESPACE_TWEAKS
54 /* Request the "Unix 98 compilation environment". */
55 #define _XOPEN_SOURCE 500
57 /* For Solaris: request everything else that is available and doesn't
58 conflict with the above. */
59 #define __EXTENSIONS__
61 /* For Linux: request features of 4.3BSD and SVID (System V Interface
66 #endif /* NAMESPACE_TWEAKS */