OSDN Git Service

Stop setting LLVM_ON_WIN32 in config.h and llvm-config.h.
authorNico Weber <nicolasweber@gmx.de>
Mon, 30 Apr 2018 20:19:48 +0000 (20:19 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 30 Apr 2018 20:19:48 +0000 (20:19 +0000)
commit4833be099d271d1102c6d7c1fcd63d870a92a85f
tree6a1c53595f7e9f852e13eed6519a0fd86ae5b5c8
parent363c4c6046ed7e84ec24ca68f5cf97b72c4a9390
Stop setting LLVM_ON_WIN32 in config.h and llvm-config.h.

See thread "Replacing LLVM_ON_WIN32 with just _WIN32" on llvm-dev and cfe-dev.

I replaced all uses of LLVM_ON_WIN32 with _WIN32 in r331127 (llvm),
r331069 (clang), r329697 (lldb), r329696 (lld), r329696 (clang-tools-extra).

If your out-of-tree program used LLVM_ON_WIN32, just use _WIN32 instead, which
is set at exactly the same time to exactly the same value.

https://reviews.llvm.org/D46264

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331224 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake.in
docs/ReleaseNotes.rst
include/llvm/Config/config.h.cmake
include/llvm/Config/llvm-config.h.cmake