git: <machine/stdint.h>: Check __cplusplus first.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Mar 30 23:35:15 PDT 2017


commit 52f6e87c4332877ad97f599f84e214cf15af6a01
Author: Sascha Wildner <saw at online.de>
Date:   Fri Mar 31 08:27:58 2017 +0200

    <machine/stdint.h>: Check __cplusplus first.
    
    Avoids -Wundef warnings when compiling C++ (which does not define
    __STDC_VERSION__).

Summary of changes:
 sys/cpu/x86_64/include/stdint.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52f6e87c4332877ad97f599f84e214cf15af6a01


-- 
DragonFly BSD source repository



More information about the Commits mailing list