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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to