git: <stdio.h>: Hide macros that break global :: ns in cxx.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Jul 4 02:50:59 PDT 2016


commit 513b6430389cd0d20fbc2e5aa62d9c5246729321
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Jun 30 17:56:03 2016 +0300

    <stdio.h>: Hide macros that break global :: ns in cxx.
    
    Avoid expanding macros  ::(!__isthreaded ?...) to poorly written
    ports that assume some specific libc/stdio.h implementation.
    Will help with patching efforts to have less +<cstdio> patches
    in dports using c++ codes.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/513b6430389cd0d20fbc2e5aa62d9c5246729321


-- 
DragonFly BSD source repository



More information about the Commits mailing list