Mercurial > hg > qm-dsp
comparison 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 |
comparison
equal
deleted
inserted
replaced
133:ef42b60d0100 | 134:5f88f517b637 |
---|---|
13 #ifdef _WIN32 | 13 #ifdef _WIN32 |
14 #include <windows.h> | 14 #include <windows.h> |
15 #else /* !_WIN32 */ | 15 #else /* !_WIN32 */ |
16 #ifdef USE_PTHREADS | 16 #ifdef USE_PTHREADS |
17 #include <pthread.h> | 17 #include <pthread.h> |
18 #else | |
19 #error Must have either _WIN32 or USE_PTHREADS defined | |
18 #endif /* USE_PTHREADS */ | 20 #endif /* USE_PTHREADS */ |
19 #endif /* !_WIN32 */ | 21 #endif /* !_WIN32 */ |
20 | 22 |
21 #include <string> | 23 #include <string> |
22 | 24 |