From 366842e73e7fc4e29dd0d6571a6e046b6e329ed1 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 18 Feb 2012 18:21:52 +0000 Subject: Do not claim that GCC predefines __POSIX__. --- ChangeLog | 5 +++++ NEWS | 8 ++++---- manual/conf.texi | 5 ----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index fee48a2591..dea30b06b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-18 Joseph Myers + + [BZ #4596] + * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__. + 2012-02-18 David S. Miller * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro. diff --git a/NEWS b/NEWS index 6b1c024857..b4539a9793 100644 --- a/NEWS +++ b/NEWS @@ -9,10 +9,10 @@ Version 2.16 * The following bugs are resolved with this release: - 174, 350, 411, 3335, 4026, 4822, 5077, 5805, 6884, 6907, 9902, 10140, - 10210, 11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529, 13530, - 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13583, - 13618 + 174, 350, 411, 3335, 4026, 4596, 4822, 5077, 5805, 6884, 6907, 9902, + 10140, 10210, 11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529, + 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, + 13583, 13618 * ISO C11 support: diff --git a/manual/conf.texi b/manual/conf.texi index 605e305071..30499d9c65 100644 --- a/manual/conf.texi +++ b/manual/conf.texi @@ -248,11 +248,6 @@ by including @file{unistd.h} and then checking whether probably fail because there is no @file{unistd.h}. We do not know of @emph{any} way you can reliably test at compilation time whether your target system supports POSIX or whether @file{unistd.h} exists. - -The GNU C compiler predefines the symbol @code{__POSIX__} if the target -system is a POSIX system. Provided you do not use any other compilers -on POSIX systems, testing @code{defined (__POSIX__)} will reliably -detect such systems. @end deftypevr @comment unistd.h -- cgit v1.2.3