]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/include/stdarg.h
Don't define `_POSIX_THREADS` unless threads are enabled. (#356)
[wasi-libc.git] / libc-top-half / musl / include / stdarg.h
1 #ifndef _STDARG_H
2 #define _STDARG_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define __NEED_va_list
9
10 #include <bits/alltypes.h>
11
12 #define va_start(v,l) __builtin_va_start(v,l)
13 #define va_end(v) __builtin_va_end(v)
14 #define va_arg(v,l) __builtin_va_arg(v,l)
15 #define va_copy(d,s) __builtin_va_copy(d,s)
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif