mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[CRT]
Add a debug print to help bugs like 5486. svn path=/trunk/; revision=48078
This commit is contained in:
parent
d17757a733
commit
f9dc8f0766
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue