From 6f20f7bd2209a90872a64a40de96912fa03f42be Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 23 Nov 2024 15:07:16 -0500 Subject: prelude: Define _QNX_SOURCE --- src/prelude.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3