diff --git a/table/sst_file_reader_test.cc b/table/sst_file_reader_test.cc index e78a8bd4c..8da366fd7 100644 --- a/table/sst_file_reader_test.cc +++ b/table/sst_file_reader_test.cc @@ -95,4 +95,12 @@ int main(int argc, char** argv) { return RUN_ALL_TESTS(); } +#else +#include + +int main(int /*argc*/, char** /*argv*/) { + fprintf(stderr, "SKIPPED as SstFileReader is not supported in ROCKSDB_LITE\n"); + return 0; +} + #endif // ROCKSDB_LITE