summaryrefslogtreecommitdiff
path: root/include/gc_config_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gc_config_macros.h')
-rw-r--r--include/gc_config_macros.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h
index 4aaca2d..d8d3114 100644
--- a/include/gc_config_macros.h
+++ b/include/gc_config_macros.h
@@ -97,7 +97,10 @@
# endif
#endif /* GC_THREADS */
-#if defined(GC_THREADS) && !defined(GC_PTHREADS) && defined(MSWIN32)
+#if defined(GC_THREADS) && !defined(GC_PTHREADS) && \
+ (defined(_WIN32) || defined(_MSC_VER) || defined(__CYGWIN__) \
+ || defined(__MINGW32__) || defined(__BORLANDC__) \
+ || defined(_WIN32_WCE))
# define GC_WIN32_THREADS
#endif