diff thread/Thread.h @ 134:5f88f517b637

Error if no thread implementation selected
author Chris Cannam
date Wed, 16 Oct 2013 13:29:00 +0100
parents 516c86946900
children 701233f8ed41
line wrap: on
line diff
--- a/thread/Thread.h	Wed Oct 16 12:52:44 2013 +0100
+++ b/thread/Thread.h	Wed Oct 16 13:29:00 2013 +0100
@@ -15,6 +15,8 @@
 #else /* !_WIN32 */
 #ifdef USE_PTHREADS
 #include <pthread.h>
+#else
+#error Must have either _WIN32 or USE_PTHREADS defined
 #endif /* USE_PTHREADS */
 #endif /* !_WIN32 */