diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-11-23 15:07:16 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-23 15:07:16 -0500 |
commit | 6f20f7bd2209a90872a64a40de96912fa03f42be (patch) | |
tree | 673ff86c1e2514de4c39db4e85615a30f151ead4 /src/prelude.h | |
parent | ff449fd9b74aa88fba58530de5aaf376f3d16510 (diff) | |
download | bfs-6f20f7bd2209a90872a64a40de96912fa03f42be.tar.xz |
prelude: Define _QNX_SOURCE
Diffstat (limited to 'src/prelude.h')
-rw-r--r-- | src/prelude.h | 5 |
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 |