From 9433e359d13b8b44d2f8ec2fc13dfbae0fed39ec Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Fri, 11 Apr 2014 10:54:47 -0700 Subject: [PATCH] Dont build version if compiling for IOS --- util/build_version.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/build_version.h b/util/build_version.h index 3d2ed29161..2035a7898f 100644 --- a/util/build_version.h +++ b/util/build_version.h @@ -4,10 +4,13 @@ // of patent rights can be found in the PATENTS file in the same directory. // #pragma once +#if !defined(IOS_CROSS_COMPILE) +// if we compile with Xcode, we don't run build_detect_vesion, so we don't +// generate these variables // these variables tell us about the git config and time extern const char* rocksdb_build_git_sha; // these variables tell us when the compilation occurred extern const char* rocksdb_build_compile_time; extern const char* rocksdb_build_compile_date; - +#endif