cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: int64_t vs long long

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 12 Jun 2008 13:52:29 -0700

On Thu, Jun 12, 2008 at 10:09:00PM +0200, Yang Tse wrote:
> Typedef'ing int64_t to curl_off_t in the public libcurl headers has
> the side effect that stdint.h and inttypes.h must be #included in the
> libcurl public headers quite early so that the typedef can actually
> take place and also define CURL_FORMAT_OFF_T headers from the
> definition of PRId64.

This in turn implies that this change can't reasonably take place without
putting a configure-generated config file into the curl public headers
(this TODO item:
http://curl.haxx.se/docs/todo.html#configure_based_info_in_public_h )

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-12