btThreadsAreRunning wasn't defined if BT_THREADSAFE was not defined, causing compile errors using premake

This commit is contained in:
Erwin Coumans
2017-06-02 16:25:28 -07:00
parent 518c7ec00e
commit 1d1c822d52

View File

@@ -79,6 +79,7 @@ const unsigned int BT_MAX_THREAD_COUNT = 64;
SIMD_FORCE_INLINE void btMutexLock( btSpinMutex* ) {}
SIMD_FORCE_INLINE void btMutexUnlock( btSpinMutex* ) {}
SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* ) {return true;}
SIMD_FORCE_INLINE bool btThreadsAreRunning() { return false;}
#endif
//