extend GTEST_HAS_PTHREAD default to enable threading on Solaris, AIX and z/OS

fix #3990
This commit is contained in:
Paul Groke 2022-08-31 15:02:46 +02:00
parent 9080381758
commit b42fa26690

View File

@ -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