From: Jakub Jelinek Date: Thu, 12 Jul 2007 15:09:59 +0000 (+0000) Subject: 2007-04-16 Ulrich Drepper X-Git-Tag: cvs/fedora-glibc-2_5-20070712T1701~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c9d44154730c1e2d8b32339f4430e9a616eb298;p=thirdparty%2Fglibc.git 2007-04-16 Ulrich Drepper [BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. --- diff --git a/ChangeLog b/ChangeLog index 998be3adfa6..f9157dcf343 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-16 Ulrich Drepper + + [BZ #4364] + * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. + 2007-04-13 Jakub Jelinek [BZ #4344] diff --git a/posix/unistd.h b/posix/unistd.h index b751928b1e5..5a88de269c7 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -56,7 +56,9 @@ __BEGIN_DECLS #define _POSIX2_LOCALEDEF 200112L /* X/Open version number to which the library conforms. It is selectable. */ -#ifdef __USE_UNIX98 +#ifdef __USE_XOPEN2K +# define _XOPEN_VERSION 600 +#elif defined __USE_UNIX98 # define _XOPEN_VERSION 500 #else # define _XOPEN_VERSION 4