Commit 696338da authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot

remove PlatformConfig.h

Summary:
Eliminate the custom PlatformConfig.h header that could be included by
defining `FOLLY_PLATFORM_CONFIG` with a command line compiler flag.  This
separate header was only used to control one setting (`FOLLY_HAVE_PIPE2`), and
can easily be done in the normal `folly-config.h` header.

Including this file with a compiler command-line macro made it not behave
nicely when using clang modules.

Reviewed By: andrewjcg, yfeldblum

Differential Revision: D13151079

fbshipit-source-id: ae3cc98b7494d409d87bc3e47d740d844c42a940
parent ec519fc5
...@@ -20,10 +20,6 @@ ...@@ -20,10 +20,6 @@
#include <folly/folly-config.h> #include <folly/folly-config.h>
#endif #endif
#ifdef FOLLY_PLATFORM_CONFIG
#include FOLLY_PLATFORM_CONFIG
#endif
#if __has_include(<features.h>) #if __has_include(<features.h>)
#include <features.h> // @manual #include <features.h> // @manual
#endif #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