mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CRT]
Add a debug print to help bugs like 5486. svn path=/trunk/; revision=48078
This commit is contained in:
@@ -12,6 +12,7 @@ void _assert(const char *msg, const char *file, unsigned line)
|
||||
{
|
||||
/* Assertion failed at foo.c line 45: x<y */
|
||||
fprintf(stderr, "Assertion failed at %s line %d: %s\n", file, line, msg);
|
||||
DPRINT1("Assertion failed at %s line %d: %s\n", file, line, msg);
|
||||
raise(SIGABRT);
|
||||
for(;;); /* eliminate warning by mingw */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user