From 353307758b056dd328b3e5a9da9d9022d1794f9a Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Thu, 20 Nov 2014 16:13:20 -0800 Subject: [PATCH] Add IOS_CROSS_COMPILE to macro guard for GetThreadList feature. --- include/rocksdb/thread_status.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/rocksdb/thread_status.h b/include/rocksdb/thread_status.h index bfd4a79fcf..f622aa4053 100644 --- a/include/rocksdb/thread_status.h +++ b/include/rocksdb/thread_status.h @@ -12,7 +12,8 @@ #define ROCKSDB_USING_THREAD_STATUS \ !defined(ROCKSDB_LITE) && \ !defined(NROCKSDB_THREAD_STATUS) && \ - !defined(OS_MACOSX) + !defined(OS_MACOSX) && \ + !defined(IOS_CROSS_COMPILE) #endif namespace rocksdb {