mac: Fix char16_t declaration error with Xcode 14.2 (fixes #3526)
This commit is contained in:
parent
b5386249bd
commit
12d0bccbd4
|
@ -37,7 +37,7 @@
|
||||||
// On macOS, <uchar.h> is only available with Xcode 14.3+.
|
// On macOS, <uchar.h> is only available with Xcode 14.3+.
|
||||||
#if __has_include(<uchar.h>)
|
#if __has_include(<uchar.h>)
|
||||||
#include <uchar.h>
|
#include <uchar.h>
|
||||||
#else
|
#elif !defined(__cplusplus)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef uint_least16_t char16_t;
|
typedef uint_least16_t char16_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue