Completed fix from Bryan Berg.
[mono.git] / libgc / include / gc_pthread_redirects.h
index 5cc8d4734021095d7862e6d8f4fc56a3f16e903c..f42b0f6a3e133cc0c0294af9bfd7d3ac8fb56547 100644 (file)
@@ -46,7 +46,7 @@
 #endif /* SOLARIS_THREADS || SOLARIS_PTHREADS */
 
 
-#if !defined(GC_USE_LD_WRAP) && defined(GC_PTHREADS) && !defined(GC_SOLARIS_PTHREADS)
+#if !defined(GC_USE_LD_WRAP) && (defined(GC_PTHREADS) || defined(GC_DARWIN_THREADS) || defined(GC_MACOSX_THREADS)) && !defined(GC_SOLARIS_PTHREADS)
 /* We treat these similarly. */
 # include <pthread.h>
 # include <signal.h>