From: Sir Richard Date: Tue, 23 Nov 2010 16:36:54 +0000 (+0000) Subject: [CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) porta... X-Git-Tag: backups/ros-branch-0_3_13@51035~461 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1b065e7bab23b4481d80a2d683134d8437d718e5 [CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) portable, instead of __debugbreak. svn path=/trunk/; revision=49732 --- 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(); } }