]> www.ginac.de Git - cln.git/blobdiff - include/cln/config.h.in
64-bit mingw port: Define sintP, uintP in terms of 'intptr_t', not 'long'.
[cln.git] / include / cln / config.h.in
index 42cfbafcc25eafa9728d3b9eb76e9caefac31de4..511d534cb7d7ca240ad31705fbf120fbc56fb6cf 100644 (file)
@@ -1,4 +1,5 @@
-#ifdef _CL_CONFIG_PUBLIC_H
+#ifndef _CL_CONFIG_PUBLIC_H
+#define _CL_CONFIG_PUBLIC_H
 
 #include "cln/host_cpu.h"
 #include "cln/version.h"
 /* compiler supports the `long long' type */
 #undef HAVE_LONGLONG
 
+/* 
+ * Numbers in the heap are stored as "digit" (or "limb" in GMP speak)
+ * sequences. A digit is an unsigned int with sizeof(void *)*CHAR_BIT bits.
+ * It should be 8 or 16 or 32 or 64 bits. If CLN is sitting on top of GMP
+ * it should match mp_limb_t
+ */
+#undef GMP_DEMANDS_UINTD_INT
+
+#undef GMP_DEMANDS_UINTD_LONG
+
+#undef GMP_DEMANDS_UINTD_LONG_LONG
+
 #endif /* _CL_CONFIG_PUBLIC_H */