Dont build version if compiling for IOS

This commit is contained in:
Igor Canadi 2014-04-11 10:54:47 -07:00
parent de41357a18
commit 9433e359d1

View File

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