diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-10-28 19:02:16 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-02 02:52:48 -0500 |
commit | 7beb9fff1bee1ccbf7f2258ce527b8d5df2a85ea (patch) | |
tree | 2868fd769f2a528e67e6e6fa2760b3dab77d5252 /rts/posix/OSThreads.c | |
parent | 7b2cf80717a6b16e3f6135c6c6905bd5d3bbde72 (diff) | |
download | haskell-wip/rts-configure-2.tar.gz |
rts configure scriptwip/rts-configure-2
Need to use CPP not `if` in rts.buildinfo
Bump cabal submodule to include
https://github.com/haskell/cabal/pull/8565
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r-- | rts/posix/OSThreads.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index 44cda2626d..5b5b736703 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -32,6 +32,9 @@ #if defined(netbsd_HOST_OS) #define _NETBSD_SOURCE 1 #endif +#if defined(linux_HOST_OS) +#define _GNU_SOURCE 1 +#endif #include "Rts.h" |