mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 844630 - Be explicit about environ visibility. r=bgirard
This commit is contained in:
parent
75c19cf6e0
commit
3655509702
@ -890,7 +890,7 @@ inline char** GetEnviron() {
|
||||
# else
|
||||
// Some POSIX platforms expect you to declare environ. extern "C" makes
|
||||
// it reside in the global namespace.
|
||||
extern "C" char** environ;
|
||||
extern "C" __attribute__ ((visibility ("default"))) char** environ;
|
||||
inline char** GetEnviron() { return environ; }
|
||||
# endif // GTEST_OS_MAC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user