aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-16 23:44:21 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-16 23:44:21 +0000
commitfaf3ad6937494480b4b02098a6ccf232aa6ff823 (patch)
tree7b0a0a13c4aad283e560b2954a3b44bc7877a2ab
parentc14f245ca27589778202ecd7e90df03c67580d64 (diff)
downloadglibc-faf3ad6937494480b4b02098a6ccf232aa6ff823.tar
glibc-faf3ad6937494480b4b02098a6ccf232aa6ff823.tar.gz
glibc-faf3ad6937494480b4b02098a6ccf232aa6ff823.tar.bz2
glibc-faf3ad6937494480b4b02098a6ccf232aa6ff823.zip
2007-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
-rw-r--r--ChangeLog5
-rw-r--r--posix/unistd.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 76f25d8af8..d8e7c890e9 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-15 Jakub Jelinek <jakub@redhat.com>
* locale/programs/locarchive.c (INITIAL_NUM_NAMES,
diff --git a/posix/unistd.h b/posix/unistd.h
index c74190dfc3..577925c0fa 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2006, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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