diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-25 10:06:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-25 10:06:44 +0000 |
commit | fe266860c555d8dbc9592a0c2d273da711cb3141 (patch) | |
tree | 258e92aaac3fc315fcae8560ca220994529b9f18 /Build/source/texk/web2c/xetexdir | |
parent | 401ca50335ec04003ccef357764f4b9496dd9594 (diff) |
final fixes for Linux => MinGW32 cross build
git-svn-id: svn://tug.org/texlive/trunk@17203 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index 954766c5b5a..0a79748aa05 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,8 @@ +2010-02-25 Peter Breitenlohner <peb@mppmu.mpg.de> + + * XeTeX_ext.c [MINGW32]: First #include <kpathsea/config.h> to + avoid conflicting eof() declarations. + 2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de> * pngimage.c (check_for_png): Replace png_check_sig() by diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c index 87890d6ab5d..d06f83748d6 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c @@ -34,6 +34,10 @@ authorization from the copyright holders. * additional plain C extensions for XeTeX - mostly platform-neutral */ +/* We must include this first to avoid conflicting eof() declarations + from mingw32's <io.h> and web2c/lib/lib.h. */ +#include <kpathsea/config.h> + #ifdef XETEX_OTHER #ifdef POPPLER_VERSION #define xpdfVersion POPPLER_VERSION |