mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-28 05:43:50 +00:00
d68f9f4580
Summary: When using `PRIu64` type of printf specifier, current code base does the following: ``` #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #include <inttypes.h> ``` However, this can be simplified to ``` #include <cinttypes> ``` as long as flag `-std=c++11` is used. This should solve issues like https://github.com/facebook/rocksdb/issues/5159 Pull Request resolved: https://github.com/facebook/rocksdb/pull/5402 Differential Revision: D15701195 Pulled By: miasantreble fbshipit-source-id: 6dac0a05f52aadb55e9728038599d3d2e4b59d03 |
||
---|---|---|
.. | ||
.gitignore | ||
c_simple_example.c | ||
column_families_example.cc | ||
compact_files_example.cc | ||
compaction_filter_example.cc | ||
Makefile | ||
multi_processes_example.cc | ||
optimistic_transaction_example.cc | ||
options_file_example.cc | ||
README.md | ||
rocksdb_option_file_example.ini | ||
simple_example.cc | ||
transaction_example.cc |
- Compile RocksDB first by executing
make static_lib
in parent dir - Compile all examples:
cd examples/; make all