Author: sir_richard
Date: Tue Nov 23 16:36:54 2010
New Revision: 49732
URL:
http://svn.reactos.org/svn/reactos?rev=49732&view=rev
Log:
[CRT]: _assert should use DbgRaiseAssertionFailure which is (a) correct and (b) portable,
instead of __debugbreak.
Modified:
trunk/reactos/lib/sdk/crt/misc/assert.c
Modified: trunk/reactos/lib/sdk/crt/misc/assert.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/misc/assert.c?…
==============================================================================
--- trunk/reactos/lib/sdk/crt/misc/assert.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/misc/assert.c [iso-8859-1] Tue Nov 23 16:36:54 2010
@@ -67,6 +67,6 @@
/* Does the user want to debug? */
if (iResult == IDRETRY)
{
- __debugbreak();
+ DbgRaiseAssertionFailure();
}
}