* manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
This commit is contained in:
Ulrich Drepper 1999-10-31 18:04:47 +00:00
parent 592d2832b2
commit b4cbd37109
2 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,7 @@
1999-10-31 Ulrich Drepper <drepper@cygnus.com>
* manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
* includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
recognize _ISOC99_SOURCE.
* libio/stdio.h: Likewise.

View File

@ -193,12 +193,22 @@ This macro was introduced as part of the Large File Support extension
(LFS).
@end defvr
@comment (none)
@comment GNU
@defvr Macro _ISOC99_SOURCE
Until the revides @w{ISO C} standard is widely adopted the new features
are not automatically enabled. The GNU libc nevertheless has a complete
implementation of the new standard and to enable the new features the
macro @code{_ISOC99_SOURCE} should be defined.
@end defvr
@comment (none)
@comment GNU
@defvr Macro _GNU_SOURCE
If you define this macro, everything is included: @w{ISO C}, POSIX.1,
POSIX.2, BSD, SVID, X/Open, LFS, and GNU extensions. In the cases where
POSIX.1 conflicts with BSD, the POSIX definitions take precedence.
If you define this macro, everything is included: @w{ISO C89}, @w{ISO
C99}, POSIX.1, POSIX.2, BSD, SVID, X/Open, LFS, and GNU extensions. In
the cases where POSIX.1 conflicts with BSD, the POSIX definitions take
precedence.
If you want to get the full effect of @code{_GNU_SOURCE} but make the
BSD definitions take precedence over the POSIX definitions, use this