On 8/11/2010 01:06, Antonio Diaz Diaz wrote:
JonY wrote:
I'm surprised somebody is working on an MSVC port. Sadly, _MSC_VER is
specific to MSVC.
I thought you were using MSVC!
Nah, I like my shell scripts, autotools and cross compilers :)
But don't worry because 1) if this causes any problem I'll aply it only
to ocrad, not to lzip, and 2) if _MSC_VER is specific to MSVC, then the
following should work:
#if defined(__MSVCRT__) || defined(_MSC_VER) || defined(__OS2__)
setmode( fileno( stdin ), O_BINARY );
setmode( fileno( stdout ), O_BINARY );
#endif
Yes, this should work fine. ocrad?
_______________________________________________
Lzip-bug mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lzip-bug