| 8815 | |
| 8816 | # if GTEST_OS_MAC |
| 8817 | inline char** GetEnviron() { |
| 8818 | // When Google Test is built as a framework on MacOS X, the environ variable |
| 8819 | // is unavailable. Apple's documentation (man environ) recommends using |
| 8820 | // _NSGetEnviron() instead. |
| 8821 | return *_NSGetEnviron(); |
| 8822 | } |
| 8823 | # else |
| 8824 | // Some POSIX platforms expect you to declare environ. extern "C" makes |
| 8825 | // it reside in the global namespace. |
no outgoing calls
no test coverage detected