diff options
Diffstat (limited to 'testing/rocksdb/20-skip-glibc-specific-features.patch')
| -rw-r--r-- | testing/rocksdb/20-skip-glibc-specific-features.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/rocksdb/20-skip-glibc-specific-features.patch b/testing/rocksdb/20-skip-glibc-specific-features.patch new file mode 100644 index 0000000000..b331a42e2d --- /dev/null +++ b/testing/rocksdb/20-skip-glibc-specific-features.patch @@ -0,0 +1,23 @@ +--- a/port/port_posix.cc ++++ b/port/port_posix.cc +@@ -32,7 +32,7 @@ static int PthreadCall(const char* label, int result) { + } + + Mutex::Mutex(bool adaptive) { +-#ifdef OS_LINUX ++#if 0 + if (!adaptive) { + PthreadCall("init mutex", pthread_mutex_init(&mu_, nullptr)); + } else { +--- a/port/stack_trace.cc ++++ b/port/stack_trace.cc +@@ -5,8 +5,7 @@ + // + #include "port/stack_trace.h" + +-#if defined(ROCKSDB_LITE) || !(defined(OS_LINUX) || defined(OS_MACOSX)) || \ +- defined(CYGWIN) ++#if 1 + + // noop + |
