forked from KolibriOS/kolibrios
678de81f24
- added qsort and assert - delete junk files - updated libc loader git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
296 B
C
14 lines
296 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
|
|
#pragma GCC push_options
|
|
#pragma GCC optimize("O0")
|
|
|
|
void __assert_fail(const char *expr, const char *file, int line, const char *func)
|
|
{
|
|
fprintf(stdout, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
|
|
exit(0);
|
|
}
|
|
|
|
#pragma GCC pop_options |