diff options
Diffstat (limited to 'clang-tools-extra')
| -rw-r--r-- | clang-tools-extra/unittests/clangd/JSONTransportTests.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp index 26875504022..522a50a477e 100644 --- a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp +++ b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp @@ -17,8 +17,9 @@ namespace clang { namespace clangd { namespace { -// No fmemopen on windows, so we can't easily run this test. -#ifndef WIN32 +// No fmemopen on windows or on versions of MacOS X earlier than 10.13, so we +// can't easily run this test. +#if !(defined(WIN32) || __MAC_OS_X_VERSION_MIN_REQUIRED < 101300) // Fixture takes care of managing the input/output buffers for the transport. class JSONTransportTest : public ::testing::Test { |

