summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/prelude.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prelude.h b/src/prelude.h
index a0cc2a1..de89a6c 100644
--- a/src/prelude.h
+++ b/src/prelude.h
@@ -62,6 +62,11 @@
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
+/** QNX extensions. */
+#if __QNX__
+# define _QNX_SOURCE 1
+#endif
+
// Get the convenience macros that became standard spellings in C23
#if __STDC_VERSION__ < 202311L