fix the windows build
[mono.git] / mono / utils / gc_wrapper.h
index 0dbf709635991516334956b0e50cd270c117b767..591b6ef480282f33e01b3a00fd7e1271d6bb8991 100644 (file)
 #              error have boehm GC without headers, you probably need to install them by hand
 #      endif
 
-#if defined(PLATFORM_WIN32)
+#if defined(HOST_WIN32)
 #define CreateThread GC_CreateThread
 #endif
 
 #elif defined(HAVE_SGEN_GC)
 
-#if defined(PLATFORM_WIN32)
+#if defined(HOST_WIN32)
 #define CreateThread mono_gc_CreateThread
 #else
 /* pthread function wrappers */