summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-07-22 09:45:36 +0200
committerBen Gamari <ben@smart-cactus.org>2016-07-22 09:46:17 +0200
commitfb34b27c97515d06bcc00065b352704a5ea21557 (patch)
treed40e56094b9766e102368824ae794b6f0c7ba95a /rts/posix
parentbbf36f89c7ddee9ec63b12fe735cc758de4e3da2 (diff)
downloadhaskell-fb34b27c97515d06bcc00065b352704a5ea21557.tar.gz
Revert "Cleanup PosixSource.h"
This reverts commit cac3fb06f4b282eee21159c364c4d08e8fdedce9. This breaks OS X and Windows.
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/OSThreads.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index 4010c5df8e..112a311f79 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -14,11 +14,6 @@
* because of some specific types, like u_char, u_int, etc. */
#define __BSD_VISIBLE 1
#endif
-#if defined(darwin_HOST_OS)
-/* Inclusion of system headers usually requires _DARWIN_C_SOURCE on Mac OS X
- * because of some specific types like u_char, u_int, etc. */
-#define _DARWIN_C_SOURCE 1
-#endif
#include "Rts.h"