mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-20 09:57:01 +02:00
This currently does not link because fprintf, stderr and abort are missing on most platforms. But the code is there.
11 lines
250 B
C
11 lines
250 B
C
#include <assert.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void __assert_fail(char const *file, int line, char const *func, char const
|
|
*expression)
|
|
{
|
|
fprintf(stderr, "%s:%d:%s: assertion failed: %s\n",
|
|
file, line, func, expression);
|
|
abort();
|
|
}
|