2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mono / metadata / threads.c
index 972f6f2625f2414c647463b6fc5f7cae347800c8..1d0409946caa56c1c3ceab245b9252dd635fd254 100644 (file)
@@ -335,7 +335,7 @@ void mono_thread_create (MonoDomain *domain, gpointer func, gpointer arg)
        /* Create suspended, so we can do some housekeeping before the thread
         * starts
         */
-#ifdef PLATFORM_WIN32
+#if defined(PLATFORM_WIN32) && defined(HAVE_GC_BOEHM)
        thread_handle = GC_CreateThread(NULL, default_stacksize, start_wrapper, start_info,
                                     CREATE_SUSPENDED, &tid);
 #else