https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8fdc1b0d38dbda447e5ccabe0dfbfa5e73937e80
commit 8fdc1b0d38dbda447e5ccabe0dfbfa5e73937e80 Author: Timo Kreuzer <[email protected]> AuthorDate: Mon Mar 27 11:26:54 2017 +0300 Commit: Timo Kreuzer <[email protected]> CommitDate: Thu Feb 2 14:58:08 2023 +0100 [WINESYNC] msvcrt: Add helper for exception throwing. Signed-off-by: Piotr Caban <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 90307e067f985f5963b62829993b320537578333 by Piotr Caban <[email protected]> --- sdk/lib/crt/wine/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/crt/wine/heap.c b/sdk/lib/crt/wine/heap.c index b773e00ddea..a1c86c5f2db 100644 --- a/sdk/lib/crt/wine/heap.c +++ b/sdk/lib/crt/wine/heap.c @@ -175,7 +175,7 @@ void* CDECL MSVCRT_operator_new(MSVCRT_size_t size) TRACE("(%ld) out of memory\n", size); #if _MSVCR_VER >= 80 - throw_bad_alloc("bad allocation"); + throw_exception(EXCEPTION_BAD_ALLOC, 0, "bad allocation"); #endif return NULL; }
