summaryrefslogtreecommitdiff
path: root/src/__FEATURE_TEST_MACROS__
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-12 12:52:58 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-12 12:52:58 -0400
commit60c3831e53b7afa5dd372601250e7e8739329383 (patch)
tree56524ad67c32ed4bf4aa24ab06b310e5b1b5d542 /src/__FEATURE_TEST_MACROS__
parent4d4132eaebe78939ee32e2dd9139913df7665bea (diff)
move more stuff out of nonstd/
Diffstat (limited to 'src/__FEATURE_TEST_MACROS__')
-rw-r--r--src/__FEATURE_TEST_MACROS__/_POSIX_C_SOURCE.c0
-rw-r--r--src/__FEATURE_TEST_MACROS__/_POSIX_SOURCE.c5
-rw-r--r--src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE.c0
-rw-r--r--src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE_EXTENDED.c0
4 files changed, 5 insertions, 0 deletions
diff --git a/src/__FEATURE_TEST_MACROS__/_POSIX_C_SOURCE.c b/src/__FEATURE_TEST_MACROS__/_POSIX_C_SOURCE.c
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/__FEATURE_TEST_MACROS__/_POSIX_C_SOURCE.c
diff --git a/src/__FEATURE_TEST_MACROS__/_POSIX_SOURCE.c b/src/__FEATURE_TEST_MACROS__/_POSIX_SOURCE.c
new file mode 100644
index 00000000..b594f3d9
--- /dev/null
+++ b/src/__FEATURE_TEST_MACROS__/_POSIX_SOURCE.c
@@ -0,0 +1,5 @@
+#define _POSIX_SOURCE /** feature test macro **/
+/*
+FTM(POSIX.1-1988)
+POSIX(1)
+*/
diff --git a/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE.c b/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE.c
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE.c
diff --git a/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE_EXTENDED.c b/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE_EXTENDED.c
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/__FEATURE_TEST_MACROS__/_XOPEN_SOURCE_EXTENDED.c