>> I am told that _setmode will work to change the mode on Win32, e.g.:
Antonio> _setmode is neither ISO nor POSIX. Sorry, but I won't use a
Antonio> non-standard feature only to make ocrad work on M$
Antonio> systems. Better try to convince Bill of making M$-windows POSIX
Antonio> compatible.
What's wrong with
#ifdef HAVE__SETMODE
... do the _setmode dance here ...
#else
... treat stdin as a binary stream here ...
#endif
? After all, isn't that what configure is for?
Skip
_______________________________________________
Bug-ocrad mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ocrad