summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-08-01 17:28:04 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-08-01 17:28:04 -0400
commitae7e928f88370124406da09ec9a2a410d3754656 (patch)
treea5b1729474817ef9c56046fa6540840e31a9b8c9 /main.c
downloadsee_defs-ae7e928f88370124406da09ec9a2a410d3754656.tar.gz
Initial commit
Diffstat (limited to 'main.c')
-rw-r--r--main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..95ff687
--- /dev/null
+++ b/main.c
@@ -0,0 +1,19 @@
+#include <stdio.h>
+#include <sys/cdefs.h>
+
+int main(int argc, char *argv[]) {
+#ifdef _XOPEN_SOURCE
+ printf("_XOPEN_SOURCE = %luL\n", _XOPEN_SOURCE);
+#endif
+
+#ifdef _POSIX_C_SOURCE
+ printf("_POSIX_C_SOURCE = %luL\n", _POSIX_C_SOURCE);
+#endif
+
+#ifdef __DARWIN_C_LEVEL
+ printf("__DARWIN_C_LEVEL = %luL\n", __DARWIN_C_LEVEL);
+#endif
+
+ return 0;
+}
+