Dont build version if compiling for IOS
This commit is contained in:
parent
de41357a18
commit
9433e359d1
@ -4,10 +4,13 @@
|
|||||||
// of patent rights can be found in the PATENTS file in the same directory.
|
// of patent rights can be found in the PATENTS file in the same directory.
|
||||||
//
|
//
|
||||||
#pragma once
|
#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
|
// these variables tell us about the git config and time
|
||||||
extern const char* rocksdb_build_git_sha;
|
extern const char* rocksdb_build_git_sha;
|
||||||
|
|
||||||
// these variables tell us when the compilation occurred
|
// these variables tell us when the compilation occurred
|
||||||
extern const char* rocksdb_build_compile_time;
|
extern const char* rocksdb_build_compile_time;
|
||||||
extern const char* rocksdb_build_compile_date;
|
extern const char* rocksdb_build_compile_date;
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user