[sgen] Do not use Mach OS initialisation if using coop GC.
authorJoão Matos <joao@tritao.eu>
Wed, 5 Aug 2015 16:47:06 +0000 (17:47 +0100)
committerJoão Matos <joao@tritao.eu>
Wed, 5 Aug 2015 16:47:06 +0000 (17:47 +0100)
mono/metadata/sgen-os-mach.c

index db3297f15d7059d91f7f21ac2cb1d8610cc0e41c..46d30d81c4d664f3386c040356e0e60f2023ae4d 100644 (file)
@@ -137,7 +137,6 @@ sgen_thread_handshake (BOOL suspend)
        } END_FOREACH_THREAD_SAFE
        return count;
 }
-#endif
 
 void
 sgen_os_init (void)
@@ -157,3 +156,4 @@ mono_gc_get_restart_signal (void)
 }
 #endif
 #endif
+#endif