diff options
Diffstat (limited to 'include/mpw/varargs.h')
-rw-r--r-- | include/mpw/varargs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/mpw/varargs.h b/include/mpw/varargs.h new file mode 100644 index 00000000000..acb9e4504a2 --- /dev/null +++ b/include/mpw/varargs.h @@ -0,0 +1,9 @@ +/* varargs.h. */ +#ifndef __va_list__ +#define __va_list__ +typedef char *va_list; +#endif +#define va_dcl int va_alist; +#define va_start(list) list = (char *) &va_alist +#define va_end(list) +#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1] |