From 4e541372f8816e68003e4de1b86051f492d15f38 Mon Sep 17 00:00:00 2001 From: Doug Gregor Date: Tue, 12 May 2020 10:07:52 -0700 Subject: [PATCH] Work around ICU version < 62 --- CoreFoundation/String.subproj/CFString.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CoreFoundation/String.subproj/CFString.c b/CoreFoundation/String.subproj/CFString.c index 57f0b3c2b2..a087d3c2e4 100644 --- a/CoreFoundation/String.subproj/CFString.c +++ b/CoreFoundation/String.subproj/CFString.c @@ -28,6 +28,7 @@ #include "CFRuntime_Internal.h" #include #include +#include #if TARGET_OS_MAC || TARGET_OS_WIN32 || TARGET_OS_LINUX #include "CFLocaleInternal.h" #include "CFStringLocalizedFormattingInternal.h" @@ -46,7 +47,10 @@ #endif - +// Build with older versions of ICU +#if U_ICU_VERSION_MAJOR_NUM < 62 +# define UCHAR_EXTENDED_PICTOGRAPHIC 64 +#endif #define USE_STRING_ROM 0