diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-07-05 12:10:51 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-07-05 12:10:51 +0000 |
commit | 554b60342f68b4bbaa68315f3f566fd22b752d5b (patch) | |
tree | e1dead2ea88c5bd01ca4884bac2f8f8f9e1242b2 /Build/source/texk/upmendex | |
parent | 782afa6ab6e1e78fd32f393483459a46d96b32e9 (diff) |
upmendex: enable to build with icu.dll for Windows 10
git-svn-id: svn://tug.org/texlive/trunk@67554 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/upmendex')
-rw-r--r-- | Build/source/texk/upmendex/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/upmendex/fwrite.c | 1 | ||||
-rw-r--r-- | Build/source/texk/upmendex/mendex.h | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/Build/source/texk/upmendex/ChangeLog b/Build/source/texk/upmendex/ChangeLog index e5f4c1df360..f30cb062846 100644 --- a/Build/source/texk/upmendex/ChangeLog +++ b/Build/source/texk/upmendex/ChangeLog @@ -1,3 +1,10 @@ +2023-07-05 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * fwrite.c, mendex.h: + Enable to build with system ICU DLL icu.dll + for Windows 10 version 1903 (May 2019 Update) or later. + https://learn.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu- + 2023-03-09 Karl Berry <karl@tug.org> * TL'23 release. diff --git a/Build/source/texk/upmendex/fwrite.c b/Build/source/texk/upmendex/fwrite.c index f33230df8e6..a0077199ab6 100644 --- a/Build/source/texk/upmendex/fwrite.c +++ b/Build/source/texk/upmendex/fwrite.c @@ -3,7 +3,6 @@ #include <stdarg.h> #include <kpathsea/tex-file.h> -#include <unicode/unorm2.h> #include "exkana.h" #include "exhanzi.h" diff --git a/Build/source/texk/upmendex/mendex.h b/Build/source/texk/upmendex/mendex.h index d4bad85e8c8..f9cbc88fa54 100644 --- a/Build/source/texk/upmendex/mendex.h +++ b/Build/source/texk/upmendex/mendex.h @@ -6,10 +6,15 @@ #include <stdlib.h> #include <string.h> +#if defined(WIN32) && defined(WITH_SYSTEM_ICU) +#include <icu.h> +#else #include <unicode/utypes.h> #include <unicode/ustring.h> #include <unicode/uchar.h> #include <unicode/ucol.h> +#include <unicode/unorm2.h> +#endif #define PAGE_COMPOSIT_DEPTH 10 |