summaryrefslogtreecommitdiff
path: root/audio/linuxsampler/files/patch-src_common_Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/linuxsampler/files/patch-src_common_Mutex.cpp')
-rw-r--r--audio/linuxsampler/files/patch-src_common_Mutex.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/linuxsampler/files/patch-src_common_Mutex.cpp b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
index 9069f596356d..f0a362f49951 100644
--- a/audio/linuxsampler/files/patch-src_common_Mutex.cpp
+++ b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
@@ -1,10 +1,10 @@
---- src/common/Mutex.cpp.orig 2007-11-14 23:42:15 UTC
+--- src/common/Mutex.cpp.orig 2019-05-07 05:18:11 UTC
+++ src/common/Mutex.cpp
-@@ -36,7 +36,6 @@
+@@ -40,7 +40,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')"
+ # if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
+ # undef _XOPEN_SOURCE
+-# define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_RECURSIVE */
+ # if (!defined(POSIX_C_SOURCE) || POSIX_C_SOURCE < 199801L) && !__DARWIN_UNIX03
+ # 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!"