Home
last modified time | relevance | path

Searched hist:"74 b6b2bb9903e0b210d52e9e903aa28a594babe1" (Results 1 – 2 of 2) sorted by relevance

/freebsd/include/
H A Duchar.hdiff 74b6b2bb9903e0b210d52e9e903aa28a594babe1 Sat May 25 18:58:12 CEST 2013 Ed Schouten <ed@FreeBSD.org> Fix <uchar.h> in for C++11.

It turns out that in C++11, char16_t and char32_t are built-in types;
language keywords. Just fix this by putting traditional _*_T_DECLARED
blocks around the definitions. We'll just predefine these in
<sys/_types.h>.

This also opens up the possibility to define char16_t in other header
files, if ever needed (e.g. if we would gain a <ctype.h> for
char16_t/char32_t).
/freebsd/sys/sys/
H A D_types.hdiff 74b6b2bb9903e0b210d52e9e903aa28a594babe1 Sat May 25 18:58:12 CEST 2013 Ed Schouten <ed@FreeBSD.org> Fix <uchar.h> in for C++11.

It turns out that in C++11, char16_t and char32_t are built-in types;
language keywords. Just fix this by putting traditional _*_T_DECLARED
blocks around the definitions. We'll just predefine these in
<sys/_types.h>.

This also opens up the possibility to define char16_t in other header
files, if ever needed (e.g. if we would gain a <ctype.h> for
char16_t/char32_t).