1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/testing/rocksdb/20-skip-glibc-specific-features.patch
James Bowes 7ac7e0c24e testing/rocksdb: new aport
http://rocksdb.org
A persistent key-value store for fast storage environments
2016-02-22 14:24:03 +00:00

23 lines
503 B
Diff

--- 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