diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-20 20:04:47 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-20 20:04:47 -0700 |
commit | 26ffd5e6c7f110cc439bb054fac9567885ffc197 (patch) | |
tree | 1257ba588618f86a070f275a1dd6efdf81dbf121 /include | |
parent | 93a6d0820430bfe3d09695a1376c07abf6d2214f (diff) | |
download | glibc-26ffd5e6c7f110cc439bb054fac9567885ffc197.tar.gz |
Clean up HAVE_CONFIG_H and STDC_HEADERS.
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 4b233be0bd..03061aed9d 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -48,6 +48,19 @@ #include <config.h> +/* Define this for the benefit of portable GNU code that wants to check it. + Code that checks with #if will not #include <config.h> again, since we've + already done it (and this file is implicitly included in every compile, + via -include). Code that checks with #ifdef will #include <config.h>, + but that file should always be idempotent (i.e., it's just #define/#undef + and nothing else anywhere should be changing the macro state it touches), + so it's harmless. */ +#define HAVE_CONFIG_H 0 + +/* Define this for the benefit of portable GNU code that wants to check it. + Of course, it's never false when building libc! */ +#define STDC_HEADERS 1 + /* The symbols in all the user (non-_) macros are C symbols. */ #if !defined HAVE_ASM_WEAK_DIRECTIVE && !defined HAVE_ASM_WEAKEXT_DIRECTIVE |