diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 15:09:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 15:09:59 +0000 |
commit | 5c9d44154730c1e2d8b32339f4430e9a616eb298 (patch) | |
tree | cc084f5d6a7dc5e3766a2e37ffd2d21d839a2384 | |
parent | 2c9837f613823cdde9ff4786b38cc06c6ac65735 (diff) | |
download | glibc-5c9d44154730c1e2d8b32339f4430e9a616eb298.tar.gz glibc-5c9d44154730c1e2d8b32339f4430e9a616eb298.tar.xz glibc-5c9d44154730c1e2d8b32339f4430e9a616eb298.zip |
2007-04-16 Ulrich Drepper <drepper@redhat.com>
[BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | posix/unistd.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 998be3adfa..f9157dcf34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 |