[runtime] Use HOST_ defines instead of PLATFORM_ defines. (#5362)
[mono.git] / mono / sgen / sgen-marksweep.c
index 35e1195dbfbbfc27c96546a05684c22ad1b6fa3e..5f4185d4df70ec4f48a692aae3edfc46cfd3396b 100644 (file)
@@ -1220,7 +1220,7 @@ major_get_and_reset_num_major_objects_marked (void)
 #endif
 
 /* gcc 4.2.1 from xcode4 crashes on sgen_card_table_get_card_address () when this is enabled */
-#if defined(PLATFORM_MACOSX)
+#if defined(HOST_DARWIN)
 #if MONO_GNUC_VERSION <= 40300
 #undef PREFETCH_CARDS
 #endif