[Bf-blender-cvs] [0a3fa9c25c9] master: Fix missing SpinLock typedef on macOS

Arto Kitula noreply at git.blender.org
Tue Nov 14 15:51:35 CET 2017


Commit: 0a3fa9c25c920d787bf7f32fb5f922509427deaf
Author: Arto Kitula
Date:   Tue Nov 14 16:51:34 2017 +0200
Branches: master
https://developer.blender.org/rB0a3fa9c25c920d787bf7f32fb5f922509427deaf

Fix missing SpinLock typedef on macOS

===================================================================

M	source/blender/blenlib/BLI_threads.h

===================================================================

diff --git a/source/blender/blenlib/BLI_threads.h b/source/blender/blenlib/BLI_threads.h
index 9d672b1ce88..60da6b39cbe 100644
--- a/source/blender/blenlib/BLI_threads.h
+++ b/source/blender/blenlib/BLI_threads.h
@@ -112,7 +112,7 @@ void BLI_mutex_unlock(ThreadMutex *mutex);
 /* Spin Lock */
 
 #if defined(__APPLE__)
-typedef OSSpinLock ;
+typedef OSSpinLock SpinLock;
 #elif defined(_MSC_VER)
 typedef volatile int SpinLock;
 #else



More information about the Bf-blender-cvs mailing list