Mercurial > hg > orthanc
diff Core/MultiThreading/Mutex.cpp @ 890:816dccaeb7cf
Support of kFreeBSD
author | jodogne |
---|---|
date | Mon, 16 Jun 2014 15:39:16 +0200 |
parents | a811bdf8b8eb |
children | 1530ff8b8417 |
line wrap: on
line diff
--- a/Core/MultiThreading/Mutex.cpp Sat Jun 14 15:50:02 2014 +0200 +++ b/Core/MultiThreading/Mutex.cpp Mon Jun 16 15:39:16 2014 +0200 @@ -37,7 +37,7 @@ #if defined(_WIN32) #include <windows.h> -#elif defined(__linux) +#elif defined(__linux) || defined(__FreeBSD_kernel__) #include <pthread.h> #else #error Support your platform here @@ -75,7 +75,7 @@ } -#elif defined(__linux) +#elif defined(__linux) || defined(__FreeBSD_kernel__) struct Mutex::PImpl {