1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Include <stdarg.h> in <wchar.h>.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-12-27 01:51:19 +01:00
parent b08455c4d3
commit 8a49c47742

View file

@ -29,6 +29,8 @@
#include <sys/__/types.h>
#include <stdarg.h>
#if defined(__is_sortix_libc)
#include <FILE.h>
#endif
@ -60,16 +62,6 @@ typedef int __locale_t;
typedef __locale_t locale_t;
#endif
#ifndef __valist_defined
#define __valist_defined
#define va_start(v,l) __builtin_va_start(v,l)
#define va_arg(v,l) __builtin_va_arg(v,l)
#define va_end(v) __builtin_va_end(v)
#define va_copy(d,s) __builtin_va_copy(d,s)
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
#endif
#ifndef __wchar_t_defined
#define __wchar_t_defined
#define __need_wchar_t