Skip to content

Commit

Permalink
upmendex: enable to build with icu.dll for Windows 10
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@67554 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
t-tk committed Jul 5, 2023
1 parent 934b2ba commit 8201dc1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions texk/upmendex/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion texk/upmendex/fwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <stdarg.h>

#include <kpathsea/tex-file.h>
#include <unicode/unorm2.h>

#include "exkana.h"
#include "exhanzi.h"
Expand Down
5 changes: 5 additions & 0 deletions texk/upmendex/mendex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8201dc1

Please sign in to comment.