mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libc] Add new libc
This new libc is mostly from scratch, with *printf() functions provided by Marco Paland and Eyal Rozenberg's tiny printf library, and malloc and friends provided by dlmalloc.
This commit is contained in:
@@ -16,6 +16,6 @@ install(uintptr_t entrypoint, const void *symbol_data)
|
||||
} // namespace panic
|
||||
|
||||
extern "C"
|
||||
void _PDCLIB_assert(const char *message, const char *function, const char *file, unsigned line) {
|
||||
void __assert_fail(const char *message, const char *file, unsigned line, const char *function) {
|
||||
panic::panic(message, nullptr, function, file, line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user