Add missing va_list to <wchar.h>.

It looks like va_list should always be defined when XSI is enabled. It
moved over to the POSIX base in the 2008 edition.
This commit is contained in:
Ed Schouten 2016-05-30 16:26:34 +00:00
parent 0977bd1e88
commit 7e3327be32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300998

View file

@ -76,6 +76,13 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
#if __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE
#ifndef _VA_LIST_DECLARED
typedef __va_list va_list;
#define _VA_LIST_DECLARED
#endif
#endif
#ifndef __cplusplus
#ifndef _WCHAR_T_DECLARED
typedef ___wchar_t wchar_t;