Skip to content

Commit a5754d9

Browse files
authored
Merge pull request #3135 from compnerd/sourcekit-platform-checks
2 parents 54da5ff + 0dfeee7 commit a5754d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/tools/sourcekitd/bin/InProc/sourcekitdInProc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// FIXME: Portability ?
2222
#include <Block.h>
2323

24-
#ifdef LLVM_ON_WIN32
24+
#if defined(_WIN32)
2525
#define WIN32_LEAN_AND_MEAN
2626
#define NOMINMAX
2727
#include <windows.h>
@@ -81,7 +81,7 @@ UIdent sourcekitd::UIdentFromSKDUID(sourcekitd_uid_t uid) {
8181

8282
std::string sourcekitd::getRuntimeLibPath() {
8383
// FIXME: Move to an LLVM API. Note that libclang does the same thing.
84-
#ifdef LLVM_ON_WIN32
84+
#if defined(_WIN32)
8585
#error Not implemented
8686
#else
8787
// This silly cast below avoids a C++ warning.

0 commit comments

Comments
 (0)