diff options
author | Shea Levy <shea@shealevy.com> | 2016-11-29 13:28:27 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-29 14:39:55 -0500 |
commit | 1732d7ac43ca578deca39ea5a63cbf34f3cd9dd5 (patch) | |
tree | 258f187815dddea45843d17e57dad0dfcfd020ac /compiler/codeGen | |
parent | 36e36227e438d95fae367d10183ea43b4819854f (diff) | |
download | haskell-1732d7ac43ca578deca39ea5a63cbf34f3cd9dd5.tar.gz |
Define thread primitives if they're supported.
On iOS, we use the pthread-based implementation of Itimer.c even for a
non-threaded RTS. Since 999c464, this relies on synchronization
primitives like Mutex, so ensure those primitives are defined whenever
they are supported, even if !THREADED_RTS.
Fixes #12799.
Reviewers: erikd, austin, simonmar, bgamari
Reviewed By: simonmar, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2712
GHC Trac Issues: #12799
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions