Commit 821a5fee authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Add FOLLY_PORT_WIN32_OPEN_BINARY define

Summary: Add FOLLY_PORT_WIN32_OPEN_BINARY define

Reviewed By: yfeldblum

Differential Revision: D26693403

fbshipit-source-id: 51fb9ceef31cffdeff691ad0eb49939725cc047b
parent 9dae32de
......@@ -59,3 +59,9 @@ FOLLY_CLANG_DISABLE_WARNING("-Wheader-hygiene")
/* using override */ using namespace folly::portability::fcntl;
FOLLY_POP_WARNING
#endif
#ifdef _WIN32
#define FOLLY_PORT_WIN32_OPEN_BINARY _O_BINARY
#else
#define FOLLY_PORT_WIN32_OPEN_BINARY 0
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment