Compile fix

This commit is contained in:
Joshua Granick
2018-06-25 12:06:28 -07:00
parent ce50286f0a
commit 727d1cdfa6
2 changed files with 9 additions and 0 deletions

View File

@@ -237,6 +237,12 @@ typedef uint16_t char16_t;
typedef uint32_t char32_t;
#elif defined(HL_NATIVE_UCHAR_FUN)
# include <uchar.h>
#elif __cplusplus <= 199711L
# include <stdint.h>
typedef int16_t char16_t;
typedef uint16_t uchar16_t;
typedef int32_t char32_t;
typedef uint32_t uchar32_t;
#endif
typedef char16_t uchar;
# undef USTR