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
commit bb90c8ecab
Notes: sideshowbarker 2024-07-19 18:35:59 +09:00
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
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