aboutsummaryrefslogtreecommitdiff
path: root/xbmc/threads/platform/Condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/threads/platform/Condition.h')
-rw-r--r--xbmc/threads/platform/Condition.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/xbmc/threads/platform/Condition.h b/xbmc/threads/platform/Condition.h
index 7d5f41e8b4..57fab79308 100644
--- a/xbmc/threads/platform/Condition.h
+++ b/xbmc/threads/platform/Condition.h
@@ -23,21 +23,11 @@
#include "threads/platform/platform.select"
-#ifdef USE_BOOST_LOCKING
+#ifdef USE_BOOST_THREADING
#include "threads/platform/boost/Condition.h"
-#define LOCKING_IMPL_SET
-#endif
-
-#ifdef USE_PTHREADS_LOCKING
-#ifdef LOCKING_IMPL_SET
-#error "Cannot set two USE_*_LOCKING flags"
-#endif
+#elif (defined USE_PTHREADS_THREADING)
#include "threads/platform/pthreads/Condition.h"
-#define LOCKING_IMPL_SET
-#endif
-
-#ifndef LOCKING_IMPL_SET
-#error "No platform specified for the CriticalSection definition."
+#elif (defined USE_WIN_THREADING)
+#include "threads/platform/win/Condition.h"
#endif
-#undef LOCKING_IMPL_SET