apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Win32: APR_INT64_STRFN is wrong
Date Mon, 24 May 2004 17:08:14 GMT
At 03:50 PM 5/23/2004, André Malo wrote:
>Hi,
>
>/* MSVC 7.0 introduced _strtoui64 */
>#if _MSC_VER >= 1300 && _INTEGRAL_MAX_BITS >= 64
>#define APR_HAVE_INT64_STRFN  1
>#define APR_INT64_STRFN       _strtoui64
>...
>
>This should be _strtoi64, because apr_int64_t is signed.

IIRC, in that compiler only _strtoui64 exists.  Wrap your proposal 
in a test for the greater _MSC_VER that introduces _strtoi64 (?)




Mime
View raw message