]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/examples/compact_files_example.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / examples / compact_files_example.cc
index c27df8ee79d4bce5c63a095ddc10c92bd758d989..01e7d94d5072f6a87b458d0adea3dc587ee358be 100644 (file)
 #include "rocksdb/env.h"
 #include "rocksdb/options.h"
 
-using namespace rocksdb;
+using namespace ROCKSDB_NAMESPACE;
+
+#if defined(OS_WIN)
+std::string kDBPath = "C:\\Windows\\TEMP\\rocksdb_compact_files_example";
+#else
 std::string kDBPath = "/tmp/rocksdb_compact_files_example";
+#endif
+
 struct CompactionTask;
 
 // This is an example interface of external-compaction algorithm.