From: Compro P. <com...@gm...> - 2017-05-26 05:49:29
|
According to what I have seen, 32 bit systems have sizeof(long) as 32 bits and on 64 bit systems it is 64 bits. So, why trust "long". Why not use "int" for 32 bits and "long long" for 64 bits? If there is a problem then what is it? On Thu, May 25, 2017 at 5:52 PM, Bruno Haible <br...@cl...> wrote: > Compro Prasad wrote: >> typedef unsigned long ULONGLONG; >> typedef ULONGLONG uint64; >> typedef uint64 uintP; >> >> I think uintP refers to pointer > > Yes, the comment in lispbibl.d says so. Just search for 'uintP'. > >> But clisp.h doesn't has anything like: >> build-MT-debug/lispbibl.c:1164: typedef unsigned long long ULONGLONG; > > In my (non-MT) builds, clisp.h contains > > typedef unsigned long ULONGLONG; > ... > typedef ULONGLONG uint64; > ... > typedef uint64 uintP; > > Bruno > |