[libcxx-commits] [libcxx] [libc++] Fix missing 'get_new_handler()' for Windows builds (PR #150182)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 14 05:19:56 PDT 2025


================
@@ -11,9 +11,7 @@
 #include "include/atomic_support.h"
 
 #if defined(_LIBCPP_ABI_MICROSOFT)
-#  if !defined(_LIBCPP_ABI_VCRUNTIME)
-#    define _LIBPCPP_DEFINE_NEW_HANDLER
-#  endif
+#  define _LIBPCPP_DEFINE_NEW_HANDLER
----------------
mccakit wrote:

@frederick-vs-ja Can't we bundle a fixme comment, or bundle a documentation commit to this PR?
When UCRT fixes this issue, this commit can be reverted.

Windows support for module usage is very important for module adoption, waiting for ucrt for this could really slow things down

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


More information about the libcxx-commits mailing list