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)
commitdd3c75a067021d5cd6235ef8ef80e855f1a0b01e
tree16ba926708e310a1b38a4258576d45692a5a01bf
parent020363edccb786c858e6dae1604ca9c6d95678b1
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

llvm-svn: 331224
llvm/cmake/modules/LLVMConfig.cmake.in
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/Config/config.h.cmake
llvm/include/llvm/Config/llvm-config.h.cmake