This commit is contained in:
Morten Delenk 2016-07-27 12:15:35 +02:00
parent 20e1252f71
commit 2f0aa5da87
No known key found for this signature in database
GPG key ID: 3F818D0F65DCB490

View file

@ -1,7 +1,7 @@
#include <assert.h>
#include <base.hpp>
#include <textDISP.hpp>
void "C" __assert(const char *msg, const char *file, int line, int res) {
extern "C" void __assert(const char *msg, const char *file, int line, int res) {
if(!res) {
MTGosHAL::err << "assert(" << msg << ") failed in " << file << " at line " << line << "!\n";
MTGosHAL::err << "Kernel panic.\n";