diff thread/Thread.h @ 359:0ea56b09577e

Error if no thread implementation selected
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 16 Oct 2013 13:29:00 +0100
parents b97f4f926f48
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 */