Hi,

the patch bellow might suffice.

--- x/rts/posix/OSThreads.c
+++ x/rts/posix/OSThreads.c
@@ -7,10 +7,10 @@
  *
* --------------------------------------------------------------------------*/

-#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
+#define _GNU_SOURCE 1
 #endif

 #include "PosixSource.h"




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to