From 36555097024b50aaf1abf9f63e12429ba3b33d1a Mon Sep 17 00:00:00 2001 From: Milan Sreckovic Date: Tue, 26 Feb 2013 13:21:06 -0500 Subject: [PATCH] Bug 844630 - Be explicit about environ visibility. r=bgirard --- testing/gtest/gtest/src/gtest-death-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/gtest/gtest/src/gtest-death-test.cc b/testing/gtest/gtest/src/gtest-death-test.cc index 8b2e4131cadf..52566b80eaf9 100644 --- a/testing/gtest/gtest/src/gtest-death-test.cc +++ b/testing/gtest/gtest/src/gtest-death-test.cc @@ -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