13
0

Use POSIX semaphores on NetBSD too.

This commit is contained in:
nia 2020-02-12 04:04:21 +00:00 committed by Paul Davis
parent 1607d6a6c1
commit b490100c1b

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) || defined (__WINPTHREADS_VERSION)
#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(PTW32_VERSION) || defined (__WINPTHREADS_VERSION)
#include <semaphore.h>