[CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) porta...
authorSir Richard <sir_richard@svn.reactos.org>
Tue, 23 Nov 2010 16:36:54 +0000 (16:36 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Tue, 23 Nov 2010 16:36:54 +0000 (16:36 +0000)
svn path=/trunk/; revision=49732

reactos/lib/sdk/crt/misc/assert.c

index 38c6940..bc196fd 100644 (file)
@@ -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();
     }
 }