summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2023-04-11 14:41:03 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-04-11 14:41:50 (GMT)
commit7f6f9c12adefe8130565b7425dc387d284c009e4 (patch)
treef08ce95cb97db2cb8203eee5bf0139d4fd2f6686 /googletest/include/gtest/internal/gtest-port.h
parent057b4e904fd754135dc19ff557c14036fd316425 (diff)
downloadgoogletest-7f6f9c12adefe8130565b7425dc387d284c009e4.zip
googletest-7f6f9c12adefe8130565b7425dc387d284c009e4.tar.gz
googletest-7f6f9c12adefe8130565b7425dc387d284c009e4.tar.bz2
Support --gtest_stream_result_to on macOS
This seems to just have been an oversight. POSIX socket APIs work just fine on macOS. Fixes https://github.com/google/googletest/issues/4214. PiperOrigin-RevId: 523398386 Change-Id: I9d56cd9c6933318c1f0b0024f7fef44122fd0c83
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port.h')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h
index 7846c9e..656a261 100644
--- a/googletest/include/gtest/internal/gtest-port.h
+++ b/googletest/include/gtest/internal/gtest-port.h
@@ -693,7 +693,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
#if defined(GTEST_OS_LINUX) || defined(GTEST_OS_GNU_KFREEBSD) || \
defined(GTEST_OS_DRAGONFLY) || defined(GTEST_OS_FREEBSD) || \
defined(GTEST_OS_NETBSD) || defined(GTEST_OS_OPENBSD) || \
- defined(GTEST_OS_GNU_HURD)
+ defined(GTEST_OS_GNU_HURD) || defined(GTEST_OS_MAC)
#define GTEST_CAN_STREAM_RESULTS_ 1
#else
#define GTEST_CAN_STREAM_RESULTS_ 0