From bd24d3e0c029d84be7a4fc56feec1467496aa7f1 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Fri, 1 Jul 2022 12:10:26 +0100 Subject: [PATCH] XBox: Fix align_val_t in include/new Fixes https://github.com/XboxDev/nxdk/issues/587 --- include/new | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/new b/include/new index 7b046db039..5f58731a48 100644 --- a/include/new +++ b/include/new @@ -158,7 +158,7 @@ _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT; _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_bad_alloc(); // not in C++ spec #if !defined(_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION) && \ - !defined(_LIBCPP_ABI_VCRUNTIME) + (!defined(_LIBCPP_ABI_VCRUNTIME) || defined(NXDK)) #ifndef _LIBCPP_CXX03_LANG enum class _LIBCPP_ENUM_VIS align_val_t : size_t { }; #else