[PATCH] D74599: llvm-ar: Fix MinGW compilation

Cristian Adam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 08:05:01 PST 2020


cristian.adam updated this revision to Diff 246731.
cristian.adam retitled this revision from "llvm: Set WINVER, _WIN32_WINNT to 0x601 (Windows 7) for MinGW" to "llvm-ar: Fix MinGW compilation".
cristian.adam added a comment.
Herald added subscribers: rupprecht, hiraditya.

Use WindowsSupport.h in llvm-ar, which sets `_WIN32_WINNT` to `0x0601`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74599/new/

https://reviews.llvm.org/D74599

Files:
  llvm/include/llvm/Support/Windows/WindowsSupport.h
  llvm/lib/Support/CrashRecoveryContext.cpp
  llvm/lib/Support/InitLLVM.cpp
  llvm/lib/Support/RandomNumberGenerator.cpp
  llvm/lib/Support/Windows/DynamicLibrary.inc
  llvm/lib/Support/Windows/Host.inc
  llvm/lib/Support/Windows/Memory.inc
  llvm/lib/Support/Windows/Path.inc
  llvm/lib/Support/Windows/Process.inc
  llvm/lib/Support/Windows/Program.inc
  llvm/lib/Support/Windows/Signals.inc
  llvm/lib/Support/Windows/ThreadLocal.inc
  llvm/lib/Support/Windows/Threading.inc
  llvm/lib/Support/Windows/WindowsSupport.h
  llvm/lib/Support/raw_ostream.cpp
  llvm/tools/llvm-ar/llvm-ar.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74599.246731.patch
Type: text/x-patch
Size: 6146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/bdd59fef/attachment.bin>


More information about the llvm-commits mailing list