aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rocksdb/20-skip-glibc-specific-features.patch
blob: b331a42e2d0a6c8823d5cee4400b7023ca0562c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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