Fix friend declaration to use GTEST_API_ decl spec.
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h
index 3e858e7..4751788 100644
--- a/googlemock/include/gmock/internal/gmock-internal-utils.h
+++ b/googlemock/include/gmock/internal/gmock-internal-utils.h
@@ -353,7 +353,7 @@
 class WithoutMatchers {
  private:
   WithoutMatchers() {}
-  friend WithoutMatchers GetWithoutMatchers();
+  friend GTEST_API_ WithoutMatchers GetWithoutMatchers();
 };
 
 // Internal use only: access the singleton instance of WithoutMatchers.