Chris Lattner | cfb8191 | 2002-05-20 19:11:23 +0000 | [diff] [blame^] | 1 | #include <stdio.h> |
2 | void abort(void); | ||||
3 | |||||
4 | /* This is used by the `assert' macro. */ | ||||
5 | void | ||||
6 | __eprintf (const char *string, const char *expression, | ||||
7 | unsigned int line, const char *filename) | ||||
8 | { | ||||
9 | fprintf (stderr, string, expression, line, filename); | ||||
10 | fflush (stderr); | ||||
11 | abort (); | ||||
12 | } | ||||
13 |