opnsense-ports/audio/linuxsampler/files/patch-src_common_Mutex.cpp
Franco Fichtner 6e79da282a */*: sync with upstream
Taken from: FreeBSD
2016-07-27 07:58:02 +02:00

10 lines
505 B
C++

--- src/common/Mutex.cpp.orig 2007-11-15 00:23:37 UTC
+++ src/common/Mutex.cpp
@@ -36,7 +36,6 @@
#if !defined(WIN32)
#if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
# undef _XOPEN_SOURCE
-# define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_ERRORCHECK */
# warning "Seems you don't have a UNIX98 compatible system."
# warning "Please run LinuxSampler's selftest to make sure this won't be a problem!"
# warning "(compile tests with 'make tests', run them with 'src/testcases/linuxsamplertest')"