[libcxx-commits] [libcxx] [libc++] Fix missing 'get_new_handler()' for Windows builds (PR #150182)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 23 03:40:26 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
----------------
frederick-vs-ja wrote:
This doesn't seem right. The definitions provided `__new_handler` are dummy and non-conformant. Perhaps we should rely on VCRuntime's functionalities.
https://github.com/llvm/llvm-project/pull/150182
More information about the libcxx-commits
mailing list