Implement clearenv in the portability headers
authorChristopher Dykes <cdykes@fb.com>
Tue, 11 Apr 2017 19:26:53 +0000 (12:26 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 11 Apr 2017 19:36:04 +0000 (12:36 -0700)
commita5a611496aa06ce04fe4a4411cdafbf5ab8e8ec6
tree572d63413832310806e44efec73a3b77cc8dbeb0
parent1d11ad7a0af6277ca6ed2ad147ac16a2e7ac3760
Implement clearenv in the portability headers

Summary:
It doesn't exist on OSX or Windows, so implement it.

Closes https://github.com/facebook/folly/issues/567

Reviewed By: yfeldblum

Differential Revision: D4783463

fbshipit-source-id: 0a2586aced7123b797a8e55a3e86124b449634e4
folly/portability/Stdlib.cpp
folly/portability/Stdlib.h