Date: Sat, 18 Jun 2016 12:46:50 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r302008 - stable/10/include Message-ID: <201606181246.u5ICkoA8044089@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sat Jun 18 12:46:50 2016 New Revision: 302008 URL: https://svnweb.freebsd.org/changeset/base/302008 Log: MFC r300998: 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. Modified: stable/10/include/wchar.h Directory Properties: stable/10/ (props changed) Modified: stable/10/include/wchar.h ============================================================================== --- stable/10/include/wchar.h Sat Jun 18 12:44:22 2016 (r302007) +++ stable/10/include/wchar.h Sat Jun 18 12:46:50 2016 (r302008) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606181246.u5ICkoA8044089>