btThreadsAreRunning wasn't defined if BT_THREADSAFE was not defined, causing compile errors using premake
This commit is contained in:
@@ -79,6 +79,7 @@ const unsigned int BT_MAX_THREAD_COUNT = 64;
|
|||||||
SIMD_FORCE_INLINE void btMutexLock( btSpinMutex* ) {}
|
SIMD_FORCE_INLINE void btMutexLock( btSpinMutex* ) {}
|
||||||
SIMD_FORCE_INLINE void btMutexUnlock( btSpinMutex* ) {}
|
SIMD_FORCE_INLINE void btMutexUnlock( btSpinMutex* ) {}
|
||||||
SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* ) {return true;}
|
SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* ) {return true;}
|
||||||
|
SIMD_FORCE_INLINE bool btThreadsAreRunning() { return false;}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user