diff options
author | Paul Groke <paul.groke@dynatrace.com> | 2022-08-31 13:02:46 (GMT) |
---|---|---|
committer | Paul Groke <paul.groke@dynatrace.com> | 2022-08-31 13:02:46 (GMT) |
commit | b42fa26690e0e40e4b6e6728a2e553cd02e18409 (patch) | |
tree | a534bd48c1faa2b86290d8fc96f174c225062587 | |
parent | 9080381758fad853aa17ba1c3255ee8a35e452ca (diff) | |
download | googletest-b42fa26690e0e40e4b6e6728a2e553cd02e18409.zip googletest-b42fa26690e0e40e4b6e6728a2e553cd02e18409.tar.gz googletest-b42fa26690e0e40e4b6e6728a2e553cd02e18409.tar.bz2 |
extend GTEST_HAS_PTHREAD default to enable threading on Solaris, AIX and z/OS
fix #3990
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index c9e1f32..904e791 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 |