Use Folly's environment portability header rather than declaring environ manually.
commit3db945ce03ef27f78289cfd9c1f2b706216b212e
authorChristopher Dykes <cdykes@fb.com>
Wed, 23 Mar 2016 21:36:57 +0000 (23 14:36 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 23 Mar 2016 22:00:43 +0000 (23 15:00 -0700)
treea6ccd12d9c02709f95f2e5a1ab513d4ede08e596
parentac0818c8a39f94ba8c3e0c533d09399e4be68100
Use Folly's environment portability header rather than declaring environ manually.

Summary: On Windows, `environ` is declared as a macro that calls a function, so these declarations are wrong and cause an error. Just include the folly portability header for Environment, and let it decide how to declare it if it is needed.

Reviewed By: markw65

Differential Revision: D3071529

fb-gh-sync-id: 04fc07dd47ca9282025721158e6c1a60f65ef02a
shipit-source-id: 04fc07dd47ca9282025721158e6c1a60f65ef02a
hphp/runtime/base/program-functions.cpp
hphp/runtime/ext/std/ext_std_process.cpp