git: <wchar.h>: Explicitly add va_list definition.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Aug 31 01:00:28 PDT 2016


commit c49e47afd5de0623dd6a7cee73d69b3421abd018
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Aug 20 14:35:56 2016 +0300

    <wchar.h>: Explicitly add va_list definition.
    
    Looks like there are serious namespace pollution going on in wchar.h.
    Still this header should provide va_list definition as per POSIX and not
    rely on pollution that once gets fixed the defintion would be still there.
    
    While there, add empty #ifdef va_start block to prevent dports gcc compilers
    from "fixing" this header and causing header shadowing (current variant is fine).

Summary of changes:
 include/wchar.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c49e47afd5de0623dd6a7cee73d69b3421abd018


-- 
DragonFly BSD source repository



More information about the Commits mailing list