[null-gc] Ensure mono_gc_set_skip_thread is compiled
[mono.git] / mono / metadata / null-gc.c
index 824176e05943c7cde811145a80f48f27e9e606fb..b33437dc18ec0653939dcf7d0288a7d68b781724 100644 (file)
@@ -447,11 +447,11 @@ mono_gc_pthread_create (pthread_t *new_thread, const pthread_attr_t *attr, void
 {
        return pthread_create (new_thread, attr, start_routine, arg);
 }
+#endif
 
 void mono_gc_set_skip_thread (gboolean value)
 {
 }
-#endif
 
 #ifdef HOST_WIN32
 BOOL APIENTRY mono_gc_dllmain (HMODULE module_handle, DWORD reason, LPVOID reserved)