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