diff --git a/CMakeLists.txt b/CMakeLists.txt index 56e945a..052c0cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,13 @@ target_link_libraries( rocksdb_facebook ) +target_compile_definitions( + rocksdb + PRIVATE + _GNU_SOURCE + _FILE_OFFSET_BITS=64 +) + if(WIN32) target_compile_options( rocksdb