[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: Tilman Hausherr
Subject: [Lzip-bug] Re: Version 1.11-rc4 of lzip released
Date: Tue, 10 Aug 2010 17:57:33 +0200

An alternative might be _WIN32 if you don't want to use anything
MS-specific. This is defined for Microsoft (even when compiled for 64
bit) and Borland and watcom according to google. And its not defined on


On Tue, 10 Aug 2010 17:57:07 +0200, Antonio Diaz Diaz wrote:

>Elbert Pol wrote:
>> Succesfully ported rc4 to OS2 from the scratch !! :)
>> Din't have to change a byte...
>JonY, I am trying to adapt ocrad to Visual Studio 2010, but Tilman 
>Hausherr says STDIN_FILENO and __MSVCRT__ don't exist on VS2010[1]. Is 
>_MSC_VER defined by your compiler?
>[1] http://lists.gnu.org/archive/html/bug-ocrad/2010-08/msg00002.html
>Could you three please, try the following code (or propose alternatives 
>combining what we have tried already):
>#if defined(_MSC_VER) || defined(__OS2__)
>   setmode( fileno( stdin ), O_BINARY );
>   setmode( fileno( stdout ), O_BINARY );
>> Thankz for all the good work :)
>Thank you for your help,

reply via email to

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