From de41357a18bb3357ce756f57264055ad94610932 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Fri, 11 Apr 2014 10:19:58 -0700 Subject: [PATCH] Don't dump rocksdb version on IOS --- db/db_impl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/db_impl.cc b/db/db_impl.cc index c74cb7531..3aed6b7b0 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -4690,9 +4690,12 @@ Status DestroyDB(const std::string& dbname, const Options& options) { // // A global method that can dump out the build version void DumpLeveldbBuildVersion(Logger * log) { +#if !defined(IOS_CROSS_COMPILE) + // if we compile with Xcode, we don't run build_detect_vesion, so we don't generate util/build_version.cc Log(log, "Git sha %s", rocksdb_build_git_sha); Log(log, "Compile time %s %s", rocksdb_build_compile_time, rocksdb_build_compile_date); +#endif } } // namespace rocksdb