freestanding-headers/stdarg.h
2023-03-15 23:08:11 +01:00

19 lines
411 B
C

#if !defined(_STDARG_H) || defined(__LIBC_GUARDLESS_INCLUDE)
#if !defined(__LIBC_GUARDLESS_INCLUDE)
#define _STDARG_H 1
#endif
typedef __builtin_va_list va_list;
#ifndef __STDARG_H_MACROS
#define __STDARG_H_MACROS 1
#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)
#define va_copy(d, s) __builtin_va_copy(d, s)
#endif
#endif