0dbccffbaf
- Apply patch by Jitesh Shah to fix build on arm
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
--- include/cln/types.h 2009-06-14 15:49:32.000000000 -0400
|
|
+++ include/cln/types.h.new 2009-12-29 09:01:31.751401399 -0500
|
|
@@ -48,7 +48,7 @@
|
|
#undef HAVE_LONGLONG
|
|
#endif
|
|
#endif
|
|
- #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__sparc64__) || defined(__x86_64__))
|
|
+ #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__s390x__) || defined(__sparc64__) || defined(__x86_64__))
|
|
// 64 bit registers in hardware
|
|
#define HAVE_FAST_LONGLONG
|
|
#endif
|
|
@@ -127,7 +127,7 @@
|
|
typedef int sintD;
|
|
typedef unsigned int uintD;
|
|
#else // we are not using GMP, so just guess something reasonable
|
|
- #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__x86_64__)))
|
|
+ #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || defined(__x86_64__)))
|
|
#define intDsize 64
|
|
typedef sint64 sintD;
|
|
typedef uint64 uintD;
|