1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

A bunch of LibC boilerplate stuff added while trying to get figlet to build.

This commit is contained in:
Andreas Kling 2018-10-31 02:09:11 +01:00
parent 511ed4c4de
commit bb90c8ecab
23 changed files with 117 additions and 45 deletions

View file

@ -1,6 +1,8 @@
#pragma once
extern "C" {
#include <sys/cdefs.h>
__BEGIN_DECLS
void __assertion_failed(const char* msg, const char* file, unsigned line, const char* func);
@ -10,5 +12,5 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const
#define RELEASE_ASSERT assert
#define ASSERT_NOT_REACHED() assert(false)
}
__END_DECLS