Don't assume UINT64_C available

Albert Chin gnupg-devel at thewrittenword.com
Tue Sep 2 22:43:02 CEST 2003


On Tue, Sep 02, 2003 at 02:52:22PM -0400, David Shaw wrote:
> On Tue, Sep 02, 2003 at 01:27:07PM -0500, Albert Chin wrote:
> > Tru64 UNIX doesn't have the UINT64_C() macro.
> 
> Tru64 has uint64_t but not UINT64_C ?  I think that violates POSIX.

/usr/include/inttypes.h
  typedef unsigned long uint64_t;

> I like this patch better since it doesn't assume that uint64_t is an
> unsigned long long (which may not be true):

Works fine.

Oh wait, my bad. I only checked /usr/include, not /usr/include.dtk.
UINT64_C is in /usr/include.dtk/stdint.h.

Sorry!

-- 
albert chin (china at thewrittenword.com)




More information about the Gnupg-devel mailing list