[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lzip-bug] Re: Version 1.11-rc4 of lzip released

From: Antonio Diaz Diaz
Subject: [Lzip-bug] Re: Version 1.11-rc4 of lzip released
Date: Tue, 10 Aug 2010 19:06:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

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 );

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]