From fb49e9126e9a9fb6246c33283b51a4627a98a58d Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 11 Oct 2024 15:31:56 +0200 Subject: [PATCH] [VCRUNTIME] Fix eh.h --- sdk/include/vcruntime/eh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/include/vcruntime/eh.h b/sdk/include/vcruntime/eh.h index a384707e8c7..d37f86e81a0 100644 --- a/sdk/include/vcruntime/eh.h +++ b/sdk/include/vcruntime/eh.h @@ -24,10 +24,10 @@ typedef void (__cdecl *unexpected_handler)(void); struct _EXCEPTION_POINTERS; typedef void (__cdecl *_se_translator_function)(unsigned int,struct _EXCEPTION_POINTERS *); -_CRTIMP __declspec(noreturn) void __cdecl terminate(void); +_CRTIMP __declspec(noreturn) void __cdecl terminate(void) throw(); _CRTIMP void __cdecl unexpected(void); _CRTIMP int __cdecl _is_exception_typeof(const type_info &_Type,struct _EXCEPTION_POINTERS *_ExceptionPtr); -_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc); +_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc) throw(); extern "C" _CRTIMP terminate_function __cdecl _get_terminate(void); _CRTIMP unexpected_function __cdecl set_unexpected(unexpected_function _NewPtFunc); extern "C" _CRTIMP unexpected_function __cdecl _get_unexpected(void);