lzip-bug
[Top][All Lists]
Advanced

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

Re: [Lzip-bug] mingw build failure


From: Roy Tam
Subject: Re: [Lzip-bug] mingw build failure
Date: Fri, 11 Jan 2013 07:58:25 +0800

2013/1/11 Antonio Diaz Diaz <address@hidden>:
> Hello Roy,
>
> Roy wrote:
>>
>> There is no _fsetmode() in mingw environment.
>
>
> I knew I chose the wrong one. I'll switch again to setmode[1]. ;-)
>
> [1] http://lists.nongnu.org/archive/html/lzip-bug/2010-08/msg00011.html
>
> BTW, I have been told that cygwin now uses binary IO only[2]. Someone knows
> if mingw plans to do the same?
>
> [2] http://lists.nongnu.org/archive/html/lzip-bug/2010-08/msg00005.html
>

I don't think it will as the MSVCRT library will always act in text
mode unless with setmode() for compatibility.

>
>> BTW it will be nice to #define strtoll as _strtoi64, as older w32api
>> versions will not have this defined.
>>
>> #define strtoll _strtoi64
>
>
> Is there any condition that can be reliably tested to apply this definition?
>

Try linking to it?

Regards,
Roy



reply via email to

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