[PATCH] D33388: [libcxx] fixup bootstrapping for mingw-w64

Eric Fiselier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 00:04:01 PDT 2017


EricWF added inline comments.


================
Comment at: libcxx/trunk/cmake/config-ix.cmake:53
+    list(APPEND CMAKE_REQUIRED_LIBRARIES ${MINGW_LIBRARIES})
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x0600")
   endif()
----------------
`-D_WIN32_WINNT=0x0600`. What? Why?

First isn't `0x0600` Windows Vista? Why are we asking to support such an old operating system?
Why are we defining this at all?



Repository:
  rL LLVM

https://reviews.llvm.org/D33388





More information about the llvm-commits mailing list