]> www.ginac.de Git - cln.git/commitdiff
Fix compilation error with MSVC in 64-bit mode.
authorBruno Haible <bruno@clisp.org>
Mon, 28 Oct 2019 00:25:21 +0000 (01:25 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 28 Oct 2019 00:27:06 +0000 (01:27 +0100)
* include/cln/types.h: Test _M_AMD64 in addition to __x86_64__.

include/cln/types.h

index 852cb45d6618aff51a59e57f638359630352986b..7ec3770e9a125c0d8bd35cf347ef9fe93910b77d 100644 (file)
@@ -51,7 +51,7 @@
     #undef HAVE_LONGLONG
    #endif
   #endif
-  #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64)) || defined(__e2k__)
+  #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || (defined(__x86_64__) || defined(_M_AMD64)) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64)) || defined(__e2k__)
     // 64 bit registers in hardware
     #define HAVE_FAST_LONGLONG
   #endif