aboutsummaryrefslogtreecommitdiffstats
path: root/gtest/include/gtest/internal/gtest-linked_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtest/include/gtest/internal/gtest-linked_ptr.h')
-rw-r--r--gtest/include/gtest/internal/gtest-linked_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtest/include/gtest/internal/gtest-linked_ptr.h b/gtest/include/gtest/internal/gtest-linked_ptr.h
index f98af0b..540ef4c 100644
--- a/gtest/include/gtest/internal/gtest-linked_ptr.h
+++ b/gtest/include/gtest/internal/gtest-linked_ptr.h
@@ -77,7 +77,7 @@ namespace testing {
namespace internal {
// Protects copying of all linked_ptr objects.
-extern Mutex g_linked_ptr_mutex;
+GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_(g_linked_ptr_mutex);
// This is used internally by all instances of linked_ptr<>. It needs to be
// a non-template class because different types of linked_ptr<> can refer to