]> www.ginac.de Git - cln.git/commitdiff
64-bit mingw port: Define intV in terms of intP.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2019 18:46:57 +0000 (19:46 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2019 18:46:57 +0000 (19:46 +0100)
include/cln/types.h

index dc98bddbd264fcc372fdebc750cdf42dee4733d2..852cb45d6618aff51a59e57f638359630352986b 100644 (file)
   typedef uintptr_t  uintP;
 
 // Integer type used for the value of a fixnum.
-  #define intVsize long_bitsize
-  typedef long           sintV;
-  typedef unsigned long  uintV;
+  // It must be like this, because in a couple of places we assume
+  // cl_value_shift + cl_value_len == cl_pointer_size.
+  #define intVsize intPsize
+  typedef sintP  sintV;
+  typedef uintP  uintV;
 
 // Numbers in the heap are stored as "digit" sequences.
 // A digit is an unsigned int with intDsize bits.