options/posix: Add several _POSIX feature defines
@@ -16,10 +16,17 @@ extern "C" {
#endif
#define _POSIX_VERSION 200809L
-#define _POSIX2_VERSION 200809L
+#define _POSIX2_VERSION _POSIX_VERSION
#define _XOPEN_VERSION 700
-#define _POSIX_THREADS 200809L
+#define _POSIX_FSYNC _POSIX_VERSION
+#define _POSIX_IPV6 _POSIX_VERSION
+#define _POSIX_JOB_CONTROL 1
+#define _POSIX_SAVED_IDS 1
+#define _POSIX_SHELL 1
+#define _POSIX_SPAWN _POSIX_VERSION
+#define _POSIX_THREADS _POSIX_VERSION
+#define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
// MISSING: additional _POSIX and _XOPEN feature macros
// MISSING: _POSIX_TIMESTAMP_RESOLUTION and _POSIX2_SYMLINKS
