From d86cb825ca96580a17386aff0e2b70a35545d2fe Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sat, 8 Feb 2014 02:44:08 +0000 Subject: xetex [win32]: Display output of Unicode characters on console git-svn-id: svn://tug.org/texlive/trunk@32916 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/xetexdir/ChangeLog | 7 ++++++- Build/source/texk/web2c/xetexdir/XeTeX_ext.h | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index 3e934e8e46c..eb7657cdf13 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,8 @@ +2014-02-08 TANAKA Takuji + + * XeTeX_ext.h: Display output of Unicode characters + on console. (Windows only) + 2014-01-20 Peter Breitenlohner TeX tuneup of 2014. @@ -5,7 +10,7 @@ 2014-01-17 TANAKA Takuji - * XeTeX_ext.c, xetex.h: Accept Unicode characters from STDIO + * XeTeX_ext.c, xetex.h: Accept Unicode characters from STDIN on console. (Windows only) 2013-12-06 Akira Kakuto diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.h b/Build/source/texk/web2c/xetexdir/XeTeX_ext.h index 4b28cb0a6b6..e81b8781373 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.h +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.h @@ -172,6 +172,13 @@ extern FT_Library gFreeTypeLibrary; #include /* for FILE */ +#ifdef WIN32 +#undef fputs +#undef putc +#define fputs win32_fputs +#define putc win32_putc +#endif + #include "trans.h" #ifdef HAVE_STDBOOL_H -- cgit v1.2.3