changeset 937:1530ff8b8417

fix darwin build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Jun 2014 17:58:33 +0200
parents 9f32a3f8a347
children eb5f03334da6
files Core/MultiThreading/Mutex.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/MultiThreading/Mutex.cpp	Tue Jun 24 17:07:44 2014 +0200
+++ b/Core/MultiThreading/Mutex.cpp	Tue Jun 24 17:58:33 2014 +0200
@@ -37,7 +37,7 @@
 
 #if defined(_WIN32)
 #include <windows.h>
-#elif defined(__linux) || defined(__FreeBSD_kernel__)
+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
 #include <pthread.h>
 #else
 #error Support your platform here
@@ -75,7 +75,7 @@
   }
 
 
-#elif defined(__linux) || defined(__FreeBSD_kernel__)
+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
 
   struct Mutex::PImpl
   {