summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorMarco Silva <marcot@marcot.eti.br>2011-01-18 22:23:52 +0000
committerMarco Silva <marcot@marcot.eti.br>2011-01-18 22:23:52 +0000
commit13d064aec161f478a630c693433bfc091f5e140e (patch)
tree2c345d84c5c4c43f07148a9f8a6e81d6b92b553a /rts/posix
parent5ddec4452428b67788dd323d38563e8123253005 (diff)
downloadhaskell-13d064aec161f478a630c693433bfc091f5e140e.tar.gz
Include kfreebsdgnu in the list of Target Platforms.
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/OSThreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index 283155345c..29cb23eb6d 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -7,7 +7,7 @@
*
* --------------------------------------------------------------------------*/
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GLIBC__)
/* We want GNU extensions in DEBUG mode for mutex error checking */
/* We also want the affinity API, which requires _GNU_SOURCE */
#define _GNU_SOURCE