From 1b065e7bab23b4481d80a2d683134d8437d718e5 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 23 Nov 2010 16:36:54 +0000 Subject: [PATCH] [CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) portable, instead of __debugbreak. svn path=/trunk/; revision=49732 --- reactos/lib/sdk/crt/misc/assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/sdk/crt/misc/assert.c b/reactos/lib/sdk/crt/misc/assert.c index 38c6940e7e4..bc196fd8417 100644 --- a/reactos/lib/sdk/crt/misc/assert.c +++ b/reactos/lib/sdk/crt/misc/assert.c @@ -67,6 +67,6 @@ void _assert(const char *exp, const char *file, unsigned line) /* Does the user want to debug? */ if (iResult == IDRETRY) { - __debugbreak(); + DbgRaiseAssertionFailure(); } } -- 2.17.1