]> Joshua Wise's Git repositories - netwatch.git/blame - include/raw/stdarg.h
more licensing
[netwatch.git] / include / raw / stdarg.h
CommitLineData
7d950977
JW
1#ifndef _STDARG_H_
2#define _STDARG_H_
3
3c4e084d
JP
4/* This is awful, but really these are compiler intrinsics, so we use the
5 * GNU compiler intrinsics.
6 */
7d950977 7
3c4e084d
JP
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."
7d950977
JW
16#endif
17
3c4e084d 18#endif
This page took 0.027897 seconds and 4 git commands to generate.