mirror of https://github.com/facebook/rocksdb.git
Fixed the compile error in RocksDBLite in memory_test.cc
Summary: Fixed the following compile error in RocksDBLite: 18:00:33 CC utilities/memory/memory_test.o 18:00:33 utilities/memory/memory_test.cc: In function ‘int main(int, char**)’: 18:00:33 utilities/memory/memory_test.cc:268:66: error: ‘printf’ was not declared in this scope 18:00:33 printf("Skipped in RocksDBLite as utilities are not supported."); 18:00:33 ^ Test Plan: make OPT=-DROCKSDB_LITE memory_test Reviewers: igor, sdong, anthony, IslamAbdelRahman Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D50145
This commit is contained in:
parent
7d7ee2b654
commit
dba5e00741
|
@ -263,9 +263,12 @@ int main(int argc, char** argv) {
|
|||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#else
|
||||
#include <cstdio>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
printf("Skipped in RocksDBLite as utilities are not supported.");
|
||||
printf("Skipped in RocksDBLite as utilities are not supported.\n");
|
||||
return 0;
|
||||
}
|
||||
#endif // !ROCKSDB_LITE
|
||||
|
|
Loading…
Reference in New Issue