summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 6b2c05f8efc..f897c639443 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * XeTeX_ext.c: Move u_getVersion(icuVersion) etc. below variable
+ definitions, because Visual Studio 2005 does not know c99.
+
2013-01-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* XeTeX_ext.c: If necessary define or declare strndup().
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index df7b1d19b13..97531e8f788 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -150,9 +150,6 @@ void initversionstring(char **versions)
UVersionInfo icuVersion;
char icu_version[U_MAX_VERSION_STRING_LENGTH] = "";
- u_getVersion(icuVersion);
- u_versionToString(icuVersion, icu_version);
-
const_string fmt =
"Compiled with ICU version %s; using %s\n"
"Compiled with zlib version %s; using %s\n"
@@ -188,6 +185,9 @@ void initversionstring(char **versions)
/* len will be more than enough, because of the placeholder chars in fmt
that get replaced by the arguments */
+ u_getVersion(icuVersion);
+ u_versionToString(icuVersion, icu_version);
+
if (gFreeTypeLibrary == 0 && FT_Init_FreeType(&gFreeTypeLibrary) != 0) {
fprintf(stderr, "FreeType initialization failed!\n");
exit(9);