OSDN Git Service

Don't forward declare environ on Windows
authorReid Kleckner <reid@kleckner.net>
Wed, 24 Apr 2013 17:50:30 +0000 (17:50 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 24 Apr 2013 17:50:30 +0000 (17:50 +0000)
commit268adf2a03cf352593b632c5249c83f4fc56956f
tree76069353db8a3498b92c9750725576ae13734e80
parent84875bad9c32b1110c6b8abd4f1346cc0dca761b
Don't forward declare environ on Windows

That seems to interact poorly with the environ and _environ macros
defined in MSVC's <stdlib.h>.

Also remove the incorrect comment about _NSGetEnviron().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180200 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/ProgramTest.cpp