rocksdb/env
Timo Riski 39d33475da Fix build on FreeBSD (#11218) (#12078)
Summary:
Fixes https://github.com/facebook/rocksdb/issues/11218

Changes from https://github.com/facebook/rocksdb/issues/10881 broke FreeBSD builds with:

    env/io_posix.h:39:9: error: 'POSIX_MADV_NORMAL' macro redefined [-Werror,-Wmacro-redefined]

This commit fixes FreeBSD builds by ignoring MADV defines.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12078

Reviewed By: cbi42

Differential Revision: D51452802

Pulled By: ajkr

fbshipit-source-id: 0a1f5a90954e7d257a95794277a843ac77f3a709
2023-11-20 10:11:16 -08:00
..
composite_env.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
composite_env_wrapper.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
emulated_clock.h Make SystemClock into a Customizable Class (#8636) 2021-09-21 09:23:48 -07:00
env.cc Add SystemClock::TimedWait() function (#11753) 2023-08-29 18:39:10 -07:00
env_basic_test.cc Fix incorrect parameters order in env_basic_test.cc (#11997) 2023-10-30 10:47:04 -07:00
env_chroot.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
env_chroot.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
env_encryption.cc remove duplicate comments in EncryptedEnv (#11549) 2023-06-27 11:55:37 -07:00
env_encryption_ctr.h remove duplicate comments in EncryptedEnv (#11549) 2023-06-27 11:55:37 -07:00
env_posix.cc Fix error case memory bug in GetHostName() (#11544) 2023-06-16 11:47:19 -07:00
env_test.cc Support to use environment variable to test customer encryption plugins (#12025) 2023-11-09 10:45:13 -08:00
file_system.cc Remove FactoryFunc from LoadXXXObject (#11203) 2023-02-17 12:54:07 -08:00
file_system_tracer.cc Provide support for IOTracing for ReadAsync API (#9833) 2022-05-25 19:47:03 -07:00
file_system_tracer.h Provide support for IOTracing for ReadAsync API (#9833) 2022-05-25 19:47:03 -07:00
fs_posix.cc Add an interface to provide support for underlying FS to pass their own buffer during reads (#11324) 2023-06-23 11:48:49 -07:00
fs_readonly.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
fs_remap.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
fs_remap.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
io_posix.cc Run clang-format on env/ folder (#10859) 2022-10-24 17:54:14 -07:00
io_posix.h Fix build on FreeBSD (#11218) (#12078) 2023-11-20 10:11:16 -08:00
io_posix_test.cc Print stack traces on frozen tests in CI (#10828) 2022-10-18 00:35:35 -07:00
mock_env.cc Change internal headers with duplicate names (#11408) 2023-05-17 11:27:09 -07:00
mock_env.h Run clang-format on env/ folder (#10859) 2022-10-24 17:54:14 -07:00
mock_env_test.cc Run clang-format on env/ folder (#10859) 2022-10-24 17:54:14 -07:00
unique_id_gen.cc Fix windows build errors (rdtsc and fnptr) (#12008) 2023-10-24 16:20:37 -07:00
unique_id_gen.h Internal API for generating semi-random salt (#11331) 2023-06-21 11:32:49 -07:00