[libcxx-commits] [libcxx] [libc++] Fix missing 'get_new_handler()' for Windows builds (PR #150182)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Aug 12 04:29:41 PDT 2026
================
@@ -15,18 +15,14 @@
# pragma GCC system_header
#endif
-#if defined(_LIBCPP_ABI_VCRUNTIME)
-# include <new.h>
-#else
_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD
_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
-typedef void (*new_handler)();
+using new_handler = void (*)();
----------------
philnik777 wrote:
Unrelated change?
https://github.com/llvm/llvm-project/pull/150182
More information about the libcxx-commits
mailing list