Browse Source

fix ifdefs

David Rose 20 years ago
parent
commit
042626a373
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/express/conditionVar.I

+ 2 - 0
panda/src/express/conditionVar.I

@@ -77,6 +77,7 @@ get_mutex() {
   return _mutex;
 }
 
+#ifndef CHECK_REENTRANT_MUTEX
 ////////////////////////////////////////////////////////////////////
 //     Function: ConditionVar::wait
 //       Access: Public
@@ -113,6 +114,7 @@ wait() {
   nassertv(_mutex.debug_is_locked());
   _impl.wait();
 }
+#endif  // CHECK_REENTRANT_MUTEX
 
 ////////////////////////////////////////////////////////////////////
 //     Function: ConditionVar::signal