[runtime] Fix DISABLE_REFLECTION_EMIT build.
[mono.git] / libgc / include / gc_config_macros.h
index 4671864b89bc56a31e1cd6aeb5bb445c6d98995b..caf8de527c32b8056e8e42a6077b4df0b5b0928e 100644 (file)
@@ -32,7 +32,7 @@
 # define GC_LINUX_THREADS
 #endif
 #if defined(WIN32_THREADS)
-# define GC_WIN32_THREADS
+# define GC_WIN32_THREADS 1
 #endif
 #if defined(USE_LD_WRAP)
 # define GC_USE_LD_WRAP
@@ -56,7 +56,8 @@
        defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \
        defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
        defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
-       defined(GC_AIX_THREADS) || \
+       defined(GC_AIX_THREADS) || defined(GC_NETBSD_THREADS) || \
+       defined(GC_OPENBSD_THREADS) || \
         (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
 #   define GC_PTHREADS
 # endif
 #   define GC_DARWIN_THREADS
 #   define GC_PTHREADS
 # endif
+# if !defined(GC_PTHREADS) && defined(__OpenBSD__)
+#   define GC_OPENBSD_THREADS
+#   define GC_PTHREADS
+# endif
 # if !defined(GC_PTHREADS) && defined(__FreeBSD__)
 #   define GC_FREEBSD_THREADS
 #   define GC_PTHREADS