mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
22 lines
235 B
C
22 lines
235 B
C
|
/*
|
||
|
* _afailed.c
|
||
|
*
|
||
|
* Ullrich von Bassewitz, 06.06.1998
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
|
||
|
|
||
|
void _afailed (char* file, unsigned line)
|
||
|
{
|
||
|
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
|
||
|
exit (2);
|
||
|
}
|
||
|
|
||
|
|
||
|
|