Browse Source

protect THREAD_SIMPLE_IMPL

David Rose 18 years ago
parent
commit
050541c214
1 changed files with 5 additions and 0 deletions
  1. 5 0
      panda/src/pipeline/threadSimpleManager.cxx

+ 5 - 0
panda/src/pipeline/threadSimpleManager.cxx

@@ -17,6 +17,9 @@
 ////////////////////////////////////////////////////////////////////
 
 #include "threadSimpleManager.h"
+
+#ifdef THREAD_SIMPLE_IMPL
+
 #include "threadSimpleImpl.h"
 #include "blockerSimple.h"
 
@@ -450,3 +453,5 @@ kill_non_joinable(ThreadSimpleManager::Sleeping &threads) {
   make_heap(new_threads.begin(), new_threads.end(), CompareStartTime());
   threads.swap(new_threads);
 }
+
+#endif // THREAD_SIMPLE_IMPL