git: <inttypes.h>: Expose wcstoimax() and wcstoumax() prototypes for C++ too.
swildner at crater.dragonflybsd.org
Tue Oct 20 17:04:07 PDT 2015
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(-)
DragonFly BSD source repository
More information about the Commits