Date: Mon, 30 May 2016 09:38:58 -0700 From: Cy Schubert <cschuber@gmail.com> To: Ed Schouten <ed@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Cy Schubert <Cy.Schubert@cschubert.com> Subject: RE: svn commit: r300998 - head/include Message-ID: <574c6c9d.0a50420a.c102b.1d0e@mx.google.com>
next in thread | raw e-mail | index | archive | help
This looks like it could be MFCable. Can it be? Sent from my cellphone, tiny keyboard in use, ~Cy -----Original Message----- From: Ed Schouten Sent: 30/05/2016 09:26 To: src-committers@freebsd.org; svn-src-all@freebsd.org; svn-src-head@freeb= sd.org Subject: svn commit: r300998 - head/include Author: ed Date: Mon May 30 16:26:34 2016 New Revision: 300998 URL: https://svnweb.freebsd.org/changeset/base/300998 Log: Add missing va_list to <wchar.h>. =20 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: head/include/wchar.h Modified: head/include/wchar.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- head/include/wchar.h Mon May 30 13:51:27 2016 (r300997) +++ head/include/wchar.h Mon May 30 16:26:34 2016 (r300998) @@ -76,6 +76,13 @@ typedef __size_t size_t; #define _SIZE_T_DECLARED #endif =20 +#if __POSIX_VISIBLE >=3D 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?574c6c9d.0a50420a.c102b.1d0e>