mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
8bb18fdc56
This is no longer needed as the Kernel can stand on its own legs now and there won't be any conflict with host system data types.
19 lines
302 B
C
19 lines
302 B
C
#pragma once
|
|
|
|
#ifdef KERNEL
|
|
#define __BEGIN_DECLS
|
|
#define __END_DECLS
|
|
#else
|
|
#include <sys/cdefs.h>
|
|
#endif
|
|
|
|
__BEGIN_DECLS
|
|
|
|
typedef __builtin_va_list va_list;
|
|
|
|
#define va_start(v, l) __builtin_va_start(v, l)
|
|
#define va_end(v) __builtin_va_end(v)
|
|
#define va_arg(v, l) __builtin_va_arg(v, l)
|
|
|
|
__END_DECLS
|
|
|