Add support for using ICU DLL from Windows 10

Requires Windows 10 version 1903 (May 2019 Update):
https://docs.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-

Also adds missing configure check for unicode/utext.h.
This commit is contained in:
Frederik Seiffert 2021-07-16 14:31:38 +02:00 committed by Frederik Seiffert
parent cf2dae1e21
commit dc32970502
14 changed files with 158 additions and 34 deletions

View file

@ -56,6 +56,9 @@
#if defined(HAVE_UNICODE_UCNV_H)
#include <unicode/ucnv.h>
#endif
#if defined(HAVE_ICU_H)
#include <icu.h>
#endif
typedef struct {unichar from; unsigned char to;} _ucc_;