Merge pull request #3991 from pgroke-dt:default-enable-thread-support-for-Solaris-AIX-zOS

PiperOrigin-RevId: 630402377
Change-Id: Ie9cafffaa49c2c02220981d665daa672164d35d8
pull/4536/head
Copybara-Service 7 months ago
commit 2d16ed055d
  1. 3
      googletest/include/gtest/internal/gtest-port.h

@ -607,7 +607,8 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
defined(GTEST_OS_NETBSD) || defined(GTEST_OS_FUCHSIA) || \
defined(GTEST_OS_DRAGONFLY) || defined(GTEST_OS_GNU_KFREEBSD) || \
defined(GTEST_OS_OPENBSD) || defined(GTEST_OS_HAIKU) || \
defined(GTEST_OS_GNU_HURD))
defined(GTEST_OS_GNU_HURD) || defined(GTEST_OS_SOLARIS) || \
defined(GTEST_OS_AIX) || defined(GTEST_OS_ZOS))
#define GTEST_HAS_PTHREAD 1
#else
#define GTEST_HAS_PTHREAD 0

Loading…
Cancel
Save