mac: Fix char16_t declaration error with Xcode 14.2 (fixes #3526)

This commit is contained in:
Marshall Greenblatt 2023-06-07 13:22:59 +03:00
parent b5386249bd
commit 12d0bccbd4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
// On macOS, <uchar.h> is only available with Xcode 14.3+.
#if __has_include(<uchar.h>)
#include <uchar.h>
#else
#elif !defined(__cplusplus)
#include <stdint.h>
typedef uint_least16_t char16_t;
#endif