* features.h [_GNU_SOURCE || _BSD_SOURCE || _SVID_SOURCE ||

_POSIX_SOURCE || _POSIX_C_SOURCE]: #undef __STRICT_ANSI__.
This commit is contained in:
Roland McGrath 1996-05-26 22:58:11 +00:00
parent 71a40c7471
commit e463fcfba1
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* features.h [_GNU_SOURCE || _BSD_SOURCE || _SVID_SOURCE ||
_POSIX_SOURCE || _POSIX_C_SOURCE]: #undef __STRICT_ANSI__.
* time/Makefile (tzcompile): Add missing backslash. * time/Makefile (tzcompile): Add missing backslash.
* stdlib/ldiv.c: Deansideclized. * stdlib/ldiv.c: Deansideclized.

View File

@ -79,6 +79,13 @@ Cambridge, MA 02139, USA. */
#define __FAVOR_BSD 1 #define __FAVOR_BSD 1
#endif #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. */ /* If _GNU_SOURCE was defined by the user, turn on all the other features. */
#ifdef _GNU_SOURCE #ifdef _GNU_SOURCE
/* If the user specifies some of the following without _GNU_SOURCE, /* If the user specifies some of the following without _GNU_SOURCE,