diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | posix/unistd.h | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-04-16 Ulrich Drepper <drepper@redhat.com> + + [BZ #4364] + * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. + 2007-04-13 Jakub Jelinek <jakub@redhat.com> [BZ #4344] diff --git a/posix/unistd.h b/posix/unistd.h index b751928b1e..5a88de269c 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 |