Dont build version if compiling for IOS

main
Igor Canadi 11 years ago
parent de41357a18
commit 9433e359d1
  1. 5
      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

Loading…
Cancel
Save