mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
23 lines
272 B
C
23 lines
272 B
C
/*
|
|
** _afailed.c
|
|
**
|
|
** 1998-06-06, Ullrich von Bassewitz
|
|
** 2015-03-13, Greg King
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
void __fastcall__ _afailed (char* file, unsigned line)
|
|
{
|
|
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
|
|
exit (2);
|
|
}
|
|
|
|
|
|
|