13
0

Allow compilation with winpthreads -- closes #7691

This commit is contained in:
Robin Gareus 2018-11-25 16:51:24 +01:00
parent bdc82f68e6
commit 3fd8dad9d6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View 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>