git: <uchar.h>: Define char16_t and char32_t better.

Sascha Wildner swildner at
Thu Aug 8 01:32:17 PDT 2019

commit 6c21fbf723bbe7588cd475a79b1cca1e14d55222
Author: Sascha Wildner <saw at>
Date:   Wed Aug 7 22:00:17 2019 +0200

    <uchar.h>: Define char16_t and char32_t better.
    Define them unless we use C++11 or higher. Also, remove __char16_t
    and __char32_t from <sys/types.h>. Furthermore, remove the unneeded
    declaration guards.
    Thanks to zrj for his help.

Summary of changes:
 include/uchar.h | 11 +++--------
 sys/sys/types.h |  6 ------
 2 files changed, 3 insertions(+), 14 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list