You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Update ICU to 75.1
This commit is contained in:
14
thirdparty/icu4c/common/unicode/umachine.h
vendored
14
thirdparty/icu4c/common/unicode/umachine.h
vendored
@@ -370,22 +370,14 @@ typedef int8_t UBool;
|
||||
#if 1
|
||||
// #if 1 is normal. UChar defaults to char16_t in C++.
|
||||
// For configuration testing of UChar=uint16_t temporarily change this to #if 0.
|
||||
// The intltest Makefile #defines UCHAR_TYPE=char16_t,
|
||||
// so we only #define it to uint16_t if it is undefined so far.
|
||||
#elif !defined(UCHAR_TYPE)
|
||||
#else
|
||||
# define UCHAR_TYPE uint16_t
|
||||
#endif
|
||||
|
||||
#if defined(U_COMBINED_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION) || \
|
||||
defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION)
|
||||
// Inside the ICU library code, never configurable.
|
||||
#if defined(U_ALL_IMPLEMENTATION) || !defined(UCHAR_TYPE)
|
||||
typedef char16_t UChar;
|
||||
#elif defined(UCHAR_TYPE)
|
||||
typedef UCHAR_TYPE UChar;
|
||||
#elif U_CPLUSPLUS_VERSION != 0
|
||||
typedef char16_t UChar; // C++
|
||||
#else
|
||||
typedef uint16_t UChar; // C
|
||||
typedef UCHAR_TYPE UChar;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user