summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index 3288bb501c..4c93af7c0b 100644
--- a/include/features.h
+++ b/include/features.h
@@ -186,8 +186,10 @@
# define _POSIX_SOURCE 1
# if defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 500
# define _POSIX_C_SOURCE 2
-# else
+# elif defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 600
# define _POSIX_C_SOURCE 199506L
+# else
+# define _POSIX_C_SOURCE 200112L
# endif
#endif