Commit 2eab3687 authored by Michael Lee's avatar Michael Lee Committed by Facebook Github Bot

Re-Gate setenv/unsetenv

Summary: `setenv`/`unsetenv` is not always declared the same way on all of the places folly is compiled.

Reviewed By: matbd

Differential Revision: D4462056

fbshipit-source-id: 6dd68f6fc5a6a435f145cbaa43bee02b5fa7170c
parent f1317625
......@@ -21,7 +21,8 @@
extern "C" {
#ifndef _WIN32
extern char** environ;
#endif
#else
int setenv(const char* name, const char* value, int overwrite);
int unsetenv(const char* name);
#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