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__. --- manual/conf.texi | 5 ----- 1 file changed, 5 deletions(-) (limited to 'manual/conf.texi') 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