blob: e87442a7c50d9ca8fdf267d7c6038780941c56d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <stdio.h>
#include <stdlib.h>
void __assert_fail(const char *expr, const char *file, int line, const char *func)
{
fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
fflush(NULL);
abort();
}
|