diff --git a/db/forward_iterator_bench.cc b/db/forward_iterator_bench.cc index c0ac3b1b07..69833a4af9 100644 --- a/db/forward_iterator_bench.cc +++ b/db/forward_iterator_bench.cc @@ -13,6 +13,9 @@ int main() { fprintf(stderr, "Please install gflags to run rocksdb tools\n"); return 1; } +#elif defined(OS_MACOSX) || defined(OS_WIN) +// Block forward_iterator_bench under MAC and Windows +int main() { return 0; } #else #include #include