mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-12 05:41:15 +01:00
Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly.
This commit is contained in:
parent
67975e335b
commit
6d6f7a0d53
@ -36,8 +36,14 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#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;
|
typedef char32_t pandemonium_char_type;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user