aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-12 17:05:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-12 17:05:05 +0200
commit36a5604a66eaeeb64c682c268682ab812b89bf1d (patch)
tree07bab144c615c2499a50c7e8ab21f557a886a8ca /include
parentm (diff)
downloadslibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.gz
slibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.bz2
slibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.xz
_PORTABLE_SOURCES does not disable POSIX extensions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include')
-rw-r--r--include/slibc/features.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/slibc/features.h b/include/slibc/features.h
index 0527a60..e6005f9 100644
--- a/include/slibc/features.h
+++ b/include/slibc/features.h
@@ -68,12 +68,6 @@
# if defined(_BSD_SOURCE)
# define __BSD_SOURCE _BSD_SOURCE
# endif
-# if defined(_POSIX_SOURCE)
-# define __POSIX_SOURCE _POSIX_SOURCE
-# endif
-# if defined(_POSIX_C_SOURCE)
-# define __POSIX_C_SOURCE _POSIX_C_SOURCE
-# endif
# if defined(_XOPEN_SOURCE)
# define __XOPEN_SOURCE _XOPEN_SOURCE
# endif
@@ -81,6 +75,12 @@
# define __ISOC11_SOURCE _ISOC11_SOURCE
# endif
#endif
+#if defined(_POSIX_SOURCE)
+# define __POSIX_SOURCE _POSIX_SOURCE
+#endif
+#if defined(_POSIX_C_SOURCE)
+# define __POSIX_C_SOURCE _POSIX_C_SOURCE
+#endif