From 554b60342f68b4bbaa68315f3f566fd22b752d5b Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Wed, 5 Jul 2023 12:10:51 +0000 Subject: upmendex: enable to build with icu.dll for Windows 10 git-svn-id: svn://tug.org/texlive/trunk@67554 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/upmendex/ChangeLog | 7 +++++++ Build/source/texk/upmendex/fwrite.c | 1 - Build/source/texk/upmendex/mendex.h | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/upmendex') 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 + + * 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 * 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 #include -#include #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 #include +#if defined(WIN32) && defined(WITH_SYSTEM_ICU) +#include +#else #include #include #include #include +#include +#endif #define PAGE_COMPOSIT_DEPTH 10 -- cgit v1.2.3