llvm.org GIT mirror llvm / 4833be0
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 Nico Weber 2 years ago
4 changed file(s) with 3 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
5757 set(LLVM_PLUGIN_EXT @LLVM_PLUGIN_EXT@)
5858
5959 set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
60 set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
6160
6261 set(LLVM_LIBDIR_SUFFIX @LLVM_LIBDIR_SUFFIX@)
6362
8383 ftrunc.c:5:15: runtime error: 4.29497e+09 is outside the range of representable values of type 'int'
8484 junk in the ftrunc: 0.000000
8585
86 * ``LLVM_ON_WIN32`` is no longer set by ``llvm/Config/config.h`` and
87 ``llvm/Config/llvm-config.h``. If you used this macro, use the compiler-set
88 ``_WIN32`` instead which is set exactly when ``LLVM_ON_WIN32`` used to be set.
8689
8790 * Note..
8891
310310 /* Define if this is Unixish platform */
311311 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
312312
313 /* Define if this is Win32ish platform */
314 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
315
316313 /* Define if overriding target triple is enabled */
317314 #cmakedefine LLVM_TARGET_TRIPLE_ENV "${LLVM_TARGET_TRIPLE_ENV}"
318315
5555 /* Define if this is Unixish platform */
5656 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
5757
58 /* Define if this is Win32ish platform */
59 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
60
6158 /* Define if we have the Intel JIT API runtime support library */
6259 #cmakedefine01 LLVM_USE_INTEL_JITEVENTS
6360