From 6dfd8c194e6b217e165700ab3cbaec817fa1f660 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 8b2e4131cad..52566b80eaf 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