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.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/linuxsampler/files/patch-src_common_Mutex.cpp b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
new file mode 100644
index 000000000000..6ee360146153
--- /dev/null
+++ b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
@@ -0,0 +1,10 @@
+--- 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')"