diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-15 16:02:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-15 16:02:44 +0000 |
commit | 8e5ab981d91aef2241b916de6d4b5a60a7d757ba (patch) | |
tree | 7830b17bd459277c27583cc7d72d8553cd77dc01 | |
parent | 421f7efdd3d6fba193be461fba84adbdccaa2ced (diff) |
mplibdir: Bug fix
git-svn-id: svn://tug.org/texlive/trunk@33183 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/mplibdir/mp.w | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mplibdir/mp.w b/Build/source/texk/web2c/mplibdir/mp.w index 46e5b7268b1..789bbcbb742 100644 --- a/Build/source/texk/web2c/mplibdir/mp.w +++ b/Build/source/texk/web2c/mplibdir/mp.w @@ -29324,7 +29324,14 @@ definition. There are small differences between input and output: |term_in| never uses |used|, whereas the other four never use |cur|. +The file |luatexdir/tex/texfileio.h| defines |term_in| as |stdin| and +|term_out| as |stdout|. Moreover |stdio.h| for MinGW defines |stdin| as +|(&_iob[0])| and |stdout| as |(&_iob[1])|. We must avoid all that. + @<Exported types@>= +#undef term_in +#undef term_out + typedef struct { void *fptr; char *data; |