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!

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


Best regards,
Antonio.

_______________________________________________
Lzip-bug mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to