List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Lisa Matias <lisa.matias%gmail.com@localhost>
Subject: Re: Unable to build working Win32 libzip-1.1.3
Date: Fri, 13 Jan 2017 12:17:31 +0100

Hi Lisa!

On Wed, Jan 11, 2017 at 03:13:01PM +0000, Andrew Molyneux wrote:
> I believe VS2013 is the first version of Visual C++ that includes the C99
> functions strtoull and strtoll. Earlier versions do have _strtoui64 and
> _strtoi64 though, which seem to be exactly equivalent, so this is probably
> the way to go:
> #if (_MSVC_VER < 1800)
> #define strtoull _strtoui64
> #define strtoll _strtoi64
> #endif

I've added checks and redefinitions to libzip for these two functions
to hg tip. Can you please check if it works?
 Thomas

Made by MHonArc.