mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
A bunch of LibC boilerplate stuff added while trying to get figlet to build.
This commit is contained in:
parent
511ed4c4de
commit
bb90c8ecab
23 changed files with 117 additions and 45 deletions
|
@ -1,6 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
extern "C" {
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
typedef char* va_list;
|
||||
|
||||
|
@ -8,5 +10,5 @@ typedef char* va_list;
|
|||
#define va_arg(ap, t) ((t*)(ap += sizeof(t)))[-1]
|
||||
#define va_end(ap) ap = nullptr
|
||||
|
||||
}
|
||||
__END_DECLS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue