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 23:41:12 +0800

2013/1/11 Antonio Diaz Diaz <address@hidden>:
> Roy Tam wrote:
>>
>> I don't think it will as the MSVCRT library will always act in text
>> mode unless with setmode() for compatibility.
>
>
> OK, thanks.
>
>
>
>>> Is there any condition that can be reliably tested to apply this
>>> definition?
>>
>>
>> Try linking to it?
>
>
> Try where? Lzip does not use autoconf.

actually it is safe to #define it to _strtoi64 in mingw as _strtoi64
is always exists in MSVCRT.

>
>
> In a few days I'll release a new version using "setmode". Please, does
> someone know if "io.h" needs to be included in windows and OS/2 to use
> "setmode"?

setmode prototypes are in io.h in mingw. usually unistd.h will include io.h.

>
> Meanwhile lzip-1.14-rc1, clzip-1.4-rc1 and lunzip-1.2-rc1 are waiting to be
> tested at http://download.savannah.gnu.org/releases/lzip/ :-)
>
>
> Regards,
> Antonio.
>



reply via email to

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