rocksdb/port/win
Xavier Deguillard 249f2b59a0 build: make it compile with @mode/win (#7406)
Summary:
While rocksdb can compile on both macOS and Linux with Buck, it couldn't be
compiled on Windows. The only way to compile it on Windows was with the CMake
build.

To keep the multi-platform complexity low, I've simply included all the Windows
bits in the TARGETS file, and added large #if blocks when not on Windows, the
same was done on the posix specific files.

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

Test Plan:
On my devserver:
  buck test //rocksdb/...
On Windows:
  buck build mode/win //rocksdb/src:rocksdb_lib

Reviewed By: pdillinger

Differential Revision: D23874358

Pulled By: xavierd

fbshipit-source-id: 8768b5d16d7e8f44b5ca1e2483881ca4b24bffbe
2020-09-23 12:55:54 -07:00
..
env_default.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
env_win.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
env_win.h build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
io_win.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
io_win.h build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
port_win.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
port_win.h Posix threads (#6865) 2020-06-03 12:01:57 -07:00
win_jemalloc.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
win_logger.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
win_logger.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
win_thread.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
win_thread.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
xpress_win.cc build: make it compile with @mode/win (#7406) 2020-09-23 12:55:54 -07:00
xpress_win.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00