On Apr 10, 2013, at 12:18 PM, luigi scarso <luigi.sca...@gmail.com> wrote:

> On Wed, Apr 10, 2013 at 12:09 PM, Taco Hoekwater <t...@elvenkind.com> wrote:
>> Well, it is definitely better to change the texmf/lib/lib.h file than to 
>> change
>> the mingw header io.h,
> Ah yes, but my pov is that  here luatex is right and mingw is wrong :-)

Sure :)
> 
> 
>> but is there no way to prevent io.h from defining eof()
>> via gcc the command line?
> out of jokes: there is a NO_OLDNAMES

> 
> but using -DNO_OLDNAMES creates several other problems
> 

Sure, probably some

  #define dup _dup

will be needed then.

But it is still the cleanest solution, as it requires no changes to external 
header files.

Best wishes,
Taco
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to