git: <inttypes.h>: Expose wcstoimax() and wcstoumax() prototypes for C++ too.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Oct 20 17:04:07 PDT 2015


commit fbd8bce8dd17c9bc76b9b9689ac41f7ad2ec96ea
Author: Sascha Wildner <saw at online.de>
Date:   Wed Oct 21 02:03:17 2015 +0200

    <inttypes.h>: Expose wcstoimax() and wcstoumax() prototypes for C++ too.
    
    I don't know why it was explicitly excluded in e2565a420c31.
    
    I can only guess that because of the definition of wchar_t being in
    "#ifndef __cplusplus", it was assumed that these functions (both
    taking wchar_t's) should get the same treatment. However, the real
    reason for the wchar_t handling is that wchar_t is a fundamental
    type in C++, while in C it is not.

Summary of changes:
 include/inttypes.h | 2 --
 1 file changed, 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list