From b6c657f557a6416b408d8fb178aaf856aa367661 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 12 Jan 2007 17:16:43 +0000 Subject: [PATCH] [BZ #3632] * include/features.h: Fix comment about default value for _POSIX_C_SOURCE. --- ChangeLog | 6 ++++++ include/features.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 08358ebd05a..51ad7245eb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-09 Ulrich Drepper + + [BZ #3632] + * include/features.h: Fix comment about default value for + _POSIX_C_SOURCE. + 2006-12-09 Jakub Jelinek * misc/getusershell.c (initshells): Check for integer overflows. diff --git a/include/features.h b/include/features.h index 1676ad3e585..ad9bbc70eec 100644 --- a/include/features.h +++ b/include/features.h @@ -49,7 +49,7 @@ The `-ansi' switch to the GNU C compiler defines __STRICT_ANSI__. 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. + 200112L. 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. -- 2.47.2