trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: stdint.h
Date Wed, 19 May 2010 04:50:19 GMT
On 05/19/2010 06:35 AM, John Plevyak wrote:
>
>
> However, since the C99 and new C++ standard declares that long long int
> is 64-bit and since just about everyone already has that:
> linux, solaris, freebsd, mac, and since I have been able to use it
> portably for several years now I would rather go that route.
>

If we ever plan to port TS to windows (or at least some parts
of it, then there's %I64d format, next if sizeof(long) == 8, then
the correct format is %ld not %lld, etc.
Think that some compiles complain if you try to use %lld instead
%ld in such situations.



Regards
-- 
^TM

Mime
View raw message