[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: JonY
Subject: [Lzip-bug] Re: Version 1.11-rc4 of lzip released
Date: Wed, 11 Aug 2010 22:44:01 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080213 Thunderbird/ Mnenhy/

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

Yes, this should work fine. ocrad?

reply via email to

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