diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 05:50:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 05:50:46 +0000 |
commit | 77586df3f9c466e6c5abb708b6771107d13f273d (patch) | |
tree | 8df2f46445e3988a5362f75280f409f0f3d8f1e7 | |
parent | 84a4fd33317babb7f1fe2542aa040c26c3603971 (diff) | |
download | glibc-77586df3f9c466e6c5abb708b6771107d13f273d.tar.gz |
Update.
* include/features.h: Correct description of what happens if no
*_SOURCE macro is defined.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | include/features.h | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2000-09-28 Ulrich Drepper <drepper@redhat.com> + * include/features.h: Correct description of what happens if no + *_SOURCE macro is defined. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype correctly. Reported by Felix von Leitner <leitner@convergence.de>. diff --git a/include/features.h b/include/features.h index bbf03f0692..70d9c090fc 100644 --- a/include/features.h +++ b/include/features.h @@ -42,8 +42,9 @@ _THREAD_SAFE Same as _REENTRANT, often used by other systems. The `-ansi' switch to the GNU C compiler defines __STRICT_ANSI__. - If none of these are defined, the default is all but _GNU_SOURCE. - If more than one of these are defined, they accumulate. + If none of these are defined, the default is to have _SVID_SOURCE, + _BSD_SOURCE, and _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to + 199506L. If more than one of these are defined, they accumulate. For example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together give you ISO C, 1003.1, and 1003.2, but nothing else. |