Commit f0fdd87a authored by Christopher Dolan's avatar Christopher Dolan Committed by facebook-github-bot-9

Declare missing environ variable

Summary: Declaring `extern char** environ` in `experimental/TestUtil.cpp` fixes a compilation issue on OS X 10.10.
Closes #311

Reviewed By: @yfeldblum

Differential Revision: D2419037

Pulled By: @JoelMarcey
parent 86c8e94f
...@@ -28,6 +28,10 @@ ...@@ -28,6 +28,10 @@
#include <folly/FileUtil.h> #include <folly/FileUtil.h>
#include <folly/String.h> #include <folly/String.h>
#ifndef _MSC_VER
extern char** environ;
#endif
namespace folly { namespace folly {
namespace test { namespace test {
......
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