[libcxx-commits] [libcxx] [libc++] Clean up windows macros (PR #207577)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 10 06:37:03 PDT 2026


================
@@ -43,14 +43,11 @@
 #  endif
 
 #  if defined(_WIN32)
-#    define _LIBCPP_WIN32API
 #    define _LIBCPP_SHORT_WCHAR 1
-// Both MinGW and native MSVC provide a "MSVC"-like environment
-#    define _LIBCPP_MSVCRT_LIKE
-// If mingw not explicitly detected, assume using MS C runtime only if
-// a MS compatibility version is specified.
-#    if defined(_MSC_VER) && !defined(__MINGW32__)
----------------
ldionne wrote:

This logic is changed here for MSVC, is that intended?

https://github.com/llvm/llvm-project/pull/207577


More information about the libcxx-commits mailing list