From 1d1c822d5238bceb3c1f974307bc837179f6da5b Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 2 Jun 2017 16:25:28 -0700 Subject: [PATCH] btThreadsAreRunning wasn't defined if BT_THREADSAFE was not defined, causing compile errors using premake --- src/LinearMath/btThreads.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LinearMath/btThreads.h b/src/LinearMath/btThreads.h index b592ec3e5..284702d71 100644 --- a/src/LinearMath/btThreads.h +++ b/src/LinearMath/btThreads.h @@ -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 //