Include kfreebsdgnu in the list of Target Platforms.
[ghc-hetmet.git] / rts / posix / OSThreads.c
index 2831553..29cb23e 100644 (file)
@@ -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