diff Core/MultiThreading/Mutex.cpp @ 945:427a1f996b7b templating

integration mainline -> templating
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Jun 2014 11:56:48 +0200
parents 1530ff8b8417
children 6e7e5ed91c2d
line wrap: on
line diff
--- a/Core/MultiThreading/Mutex.cpp	Mon Jun 02 13:24:44 2014 +0200
+++ b/Core/MultiThreading/Mutex.cpp	Wed Jun 25 11:56:48 2014 +0200
@@ -37,7 +37,7 @@
 
 #if defined(_WIN32)
 #include <windows.h>
-#elif defined(__linux)
+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
 #include <pthread.h>
 #else
 #error Support your platform here
@@ -75,7 +75,7 @@
   }
 
 
-#elif defined(__linux)
+#elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
 
   struct Mutex::PImpl
   {