summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2014-02-08 02:44:08 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2014-02-08 02:44:08 +0000
commitd86cb825ca96580a17386aff0e2b70a35545d2fe (patch)
treeafcdb1cee3921852207f4b02a80bfc1b9294b552
parenteb9445db98a1eb9dc1f627045a9a3a51ec90b5a1 (diff)
xetex [win32]: Display output of Unicode characters on console
git-svn-id: svn://tug.org/texlive/trunk@32916 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog7
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.h7
2 files changed, 13 insertions, 1 deletions
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 <KXD02663@nifty.ne.jp>
+
+ * XeTeX_ext.h: Display output of Unicode characters
+ on console. (Windows only)
+
2014-01-20 Peter Breitenlohner <peb@mppmu.mpg.de>
TeX tuneup of 2014.
@@ -5,7 +10,7 @@
2014-01-17 TANAKA Takuji <KXD02663@nifty.ne.jp>
- * 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 <kakuto@fuk.kindai.ac.jp>
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 <stdio.h> /* for FILE */
+#ifdef WIN32
+#undef fputs
+#undef putc
+#define fputs win32_fputs
+#define putc win32_putc
+#endif
+
#include "trans.h"
#ifdef HAVE_STDBOOL_H