Commit 12c92eaa authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Add FOLLY_CLANG_DISABLE_WARNING for Unistd.h

Summary:
Add FOLLY_CLANG_DISABLE_WARNING for Unistd.h

(Note: this ignores all push blocking failures!)

Reviewed By: yfeldblum

Differential Revision: D19652177

fbshipit-source-id: 1fcc3bb65c3b0d73870e599f9fc0463c6836cf9b
parent 6156dc3d
......@@ -26,6 +26,7 @@
#include <sys/locking.h> // @manual
#include <folly/Portability.h>
#include <folly/portability/SysTypes.h>
// This is different from the normal headers because there are a few cases,
......@@ -90,5 +91,8 @@ ssize_t write(int fh, void const* buf, size_t count);
} // namespace portability
} // namespace folly
FOLLY_PUSH_WARNING
FOLLY_CLANG_DISABLE_WARNING("-Wheader-hygiene")
/* using override */ using namespace folly::portability::unistd;
FOLLY_POP_WARNING
#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