[Bf-blender-cvs] [c721f93958d] blender-v2.79a-release: Fix missing SpinLock typedef on macOS

Arto Kitula noreply at git.blender.org
Mon Jan 8 16:55:52 CET 2018


Commit: c721f93958d6ea34e9132078b26e5a6bb29c4f3f
Author: Arto Kitula
Date:   Tue Nov 14 16:51:34 2017 +0200
Branches: blender-v2.79a-release
https://developer.blender.org/rBc721f93958d6ea34e9132078b26e5a6bb29c4f3f

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