From b42fa26690e0e40e4b6e6728a2e553cd02e18409 Mon Sep 17 00:00:00 2001 From: Paul Groke Date: Wed, 31 Aug 2022 15:02:46 +0200 Subject: [PATCH] extend GTEST_HAS_PTHREAD default to enable threading on Solaris, AIX and z/OS fix #3990 --- googletest/include/gtest/internal/gtest-port.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index c9e1f324..904e7918 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -535,7 +535,8 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION; (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX || GTEST_OS_QNX || \ GTEST_OS_FREEBSD || GTEST_OS_NACL || GTEST_OS_NETBSD || GTEST_OS_FUCHSIA || \ GTEST_OS_DRAGONFLY || GTEST_OS_GNU_KFREEBSD || GTEST_OS_OPENBSD || \ - GTEST_OS_HAIKU || GTEST_OS_GNU_HURD) + GTEST_OS_HAIKU || GTEST_OS_GNU_HURD || GTEST_OS_SOLARIS || GTEST_OS_AIX || \ + GTEST_OS_ZOS) #endif // GTEST_HAS_PTHREAD #if GTEST_HAS_PTHREAD