Allow compilation with winpthreads -- closes #7691
authorRobin Gareus <robin@gareus.org>
Sun, 25 Nov 2018 15:51:24 +0000 (16:51 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 25 Nov 2018 15:51:24 +0000 (16:51 +0100)
libs/zita-convolver/zita-convolver/zita-convolver.h

index 6c4859bce530ca39154884b212c1e839719402fd..d804e31139b9030d50d50f9a1e4744f144abaf67 100644 (file)
@@ -34,7 +34,7 @@ namespace ArdourZita {
 #endif
 
 /* note: mingw and msvc actually use PTW32's implementation of semaphores */
-#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(PTW32_VERSION)
+#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(PTW32_VERSION) || defined (__WINPTHREADS_VERSION)
 
 #include <semaphore.h>