]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - include/raw/stdarg.h
add a lot of copyright headers
[netwatch.git] / include / raw / stdarg.h
... / ...
CommitLineData
1#ifndef _STDARG_H_
2#define _STDARG_H_
3
4/* This is awful, but really these are compiler intrinsics, so we use the
5 * GNU compiler intrinsics.
6 */
7
8#ifdef __GNUC__
9typedef __builtin_va_list va_list;
10#define va_start(v,l) __builtin_va_start(v,l)
11#define va_end(v) __builtin_va_end(v)
12#define va_arg(v,l) __builtin_va_arg(v,l)
13#define va_copy(d,s) __builtin_va_copy(d,s)
14#else
15#error "Don't know how to use varargs not on GNUC, sorry."
16#endif
17
18#endif
This page took 0.018233 seconds and 4 git commands to generate.