summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-27 19:11:14 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-27 19:11:14 +0000
commit3ffe6de5f1d998c5c443d459501b8304c9c75ad6 (patch)
treeb82f63b142ca3858e6eb3146da462fcd48b45a93 /examples
parent38b6bf084ebd78ba346e69fbcebe3acf2770ede5 (diff)
downloadclang-3ffe6de5f1d998c5c443d459501b8304c9c75ad6.tar.gz
s/LLVM_ON_WIN32/_WIN32/, clang
LLVM_ON_WIN32 is set exactly with MSVC and MinGW (but not Cygwin) in HandleLLVMOptions.cmake, which is where _WIN32 defined too. Just use the default macro instead of a reinvented one. See thread "Replacing LLVM_ON_WIN32 with just _WIN32" on llvm-dev and cfe-dev. No intended behavior change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/Manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clang-interpreter/Manager.h b/examples/clang-interpreter/Manager.h
index d1b146151d..013bbbccfd 100644
--- a/examples/clang-interpreter/Manager.h
+++ b/examples/clang-interpreter/Manager.h
@@ -12,7 +12,7 @@
#include "llvm/ExecutionEngine/SectionMemoryManager.h"
-#if defined(LLVM_ON_WIN32) && defined(_WIN64)
+#if defined(_WIN32) && defined(_WIN64)
#define CLANG_INTERPRETER_COFF_FORMAT
#define CLANG_INTERPRETER_WIN_EXCEPTIONS
#endif