Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly.

This commit is contained in:
Relintai 2023-06-24 00:00:44 +02:00
parent 67975e335b
commit 6d6f7a0d53

View File

@ -36,8 +36,14 @@ extern "C" {
#endif
#include <stdint.h>
//#include <wchar.h>
#include <uchar.h>
#ifndef __cplusplus
// maybe they should be these instead?
//typedef __uint_least16_t char16_t;
//typedef __uint_least32_t char32_t;
typedef uint32_t char32_t;
typedef uint16_t char16_t;
#endif
typedef char32_t pandemonium_char_type;