diff options
author | Reid Kleckner <rnk@google.com> | 2019-04-01 21:16:17 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-04-01 21:16:17 +0000 |
commit | 1cd4216c75a213e3df84352139918e1a47550fb2 (patch) | |
tree | 7d2bf4c2aabcc30ca80003820d9659a4825569f7 | |
parent | 533fe617ac607673300f152f2dacedc0d9082098 (diff) | |
download | bcm5719-llvm-1cd4216c75a213e3df84352139918e1a47550fb2.tar.gz bcm5719-llvm-1cd4216c75a213e3df84352139918e1a47550fb2.zip |
Fix clangd unittest _WIN32 ifdef
WIN32 is not defined, _WIN32 is, use that instead.
llvm-svn: 357429
-rw-r--r-- | clang-tools-extra/unittests/clangd/JSONTransportTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp index 0498c81307f..3f71a10c62f 100644 --- a/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp +++ b/clang-tools-extra/unittests/clangd/JSONTransportTests.cpp @@ -17,8 +17,8 @@ namespace { // 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) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \ - __MAC_OS_X_VERSION_MIN_REQUIRED < 101300)) +#if !(defined(_WIN32) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \ + __MAC_OS_X_VERSION_MIN_REQUIRED < 101300)) // Fixture takes care of managing the input/output buffers for the transport. class JSONTransportTest : public ::testing::Test { |