summaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-03-10 19:34:45 +0000
committerJakub Jelinek <jakub@redhat.com>2009-03-10 19:34:45 +0000
commitd4c583b4466962a9d9d4ca54ab6108dc7b42cdcc (patch)
tree0c0ae0f76861d31a4fa7e351d88b6539364cf9e8 /posix/unistd.h
parent5c1d419918b3637170da9a5592049048aaf0ee49 (diff)
Updated to fedora-glibc-20090310T1925cvs/fedora-glibc-2_9_90-10
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 6876e3af31..24ec74e05e 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -30,33 +30,35 @@ __BEGIN_DECLS
/* These may be used to determine what facilities are present at compile time.
Their values can be obtained at run time from `sysconf'. */
-/* POSIX Standard approved as ISO/IEC 9945-1 as of December 2001. */
-#define _POSIX_VERSION 200112L
+/* POSIX Standard approved as ISO/IEC 9945-1 as of September 2008. */
+#define _POSIX_VERSION 200809L
/* These are not #ifdef __USE_POSIX2 because they are
in the theoretically application-owned namespace. */
/* The utilities on GNU systems also correspond to this version. */
-#define _POSIX2_VERSION 200112L
+#define _POSIX2_VERSION 200809L
/* If defined, the implementation supports the
C Language Bindings Option. */
-#define _POSIX2_C_BIND 200112L
+#define _POSIX2_C_BIND 200809L
/* If defined, the implementation supports the
C Language Development Utilities Option. */
-#define _POSIX2_C_DEV 200112L
+#define _POSIX2_C_DEV 200809L
/* If defined, the implementation supports the
Software Development Utilities Option. */
-#define _POSIX2_SW_DEV 200112L
+#define _POSIX2_SW_DEV 200809L
/* If defined, the implementation supports the
creation of locales with the localedef utility. */
-#define _POSIX2_LOCALEDEF 200112L
+#define _POSIX2_LOCALEDEF 200809L
/* X/Open version number to which the library conforms. It is selectable. */
-#ifdef __USE_XOPEN2K
+#ifdef __USE_XOPEN2K8
+# define _XOPEN_VERSION 700
+#elif defined __USE_XOPEN2K
# define _XOPEN_VERSION 600
#elif defined __USE_UNIX98
# define _XOPEN_VERSION 500