diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-26 22:58:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-26 22:58:11 +0000 |
commit | e463fcfba161d06d8dfc01111cf6e4aca4065bd3 (patch) | |
tree | 8aff6f6cfc82025175276dd84370fa6b04e64e39 /features.h | |
parent | 71a40c74716aa19ddb181391c0583f55bb491c2f (diff) | |
download | glibc-e463fcfba161d06d8dfc01111cf6e4aca4065bd3.zip glibc-e463fcfba161d06d8dfc01111cf6e4aca4065bd3.tar.gz glibc-e463fcfba161d06d8dfc01111cf6e4aca4065bd3.tar.bz2 |
* features.h [_GNU_SOURCE || _BSD_SOURCE || _SVID_SOURCE ||
_POSIX_SOURCE || _POSIX_C_SOURCE]: #undef __STRICT_ANSI__.
Diffstat (limited to 'features.h')
-rw-r--r-- | features.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -79,6 +79,13 @@ Cambridge, MA 02139, USA. */ #define __FAVOR_BSD 1 #endif +/* Explicit features turn off -ansi. */ +#if (defined (_GNU_SOURCE) || \ + defined (_BSD_SOURCE) || defined (_SVID_SOURCE) || \ + defined (_POSIX_SOURCE) || defined (_POSIX_C_SOURCE)) +#undef __STRICT_ANSI__ +#endif + /* If _GNU_SOURCE was defined by the user, turn on all the other features. */ #ifdef _GNU_SOURCE /* If the user specifies some of the following without _GNU_SOURCE, |