|
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:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |