2001:11:13 Gaurav Vaish <gvaish@iitk.ac.in>
[mono.git] / mono / metadata / threads.h
index beefc14222f315069848b48cec4110e5ef62d6d2..c3af7e5caa7829ab124b20fc49918a57f7b680e8 100644 (file)
 #ifndef _MONO_METADATA_THREADS_H_
 #define _MONO_METADATA_THREADS_H_
 
+#include <config.h>
+
 extern void mono_thread_init(void);
 extern void mono_thread_cleanup(void);
 
-#ifdef HAVE_PTHREAD_H
+#ifdef HAVE_PTHREAD
 #include <mono/metadata/threads-pthread.h>
 #else
-#error "No thread support found!"
+#warning "No thread support found!"
+#include <mono/metadata/threads-dummy.h>
 #endif
 
 #endif /* _MONO_METADATA_THREADS_H_ */