From d6cf3b5020fe9c682ddf6b335e77403111a54c9b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 21 Jan 2018 16:25:09 -0500 Subject: [PATCH] Simplify logic for selection of word128 --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index d50f3ec5..bbf76717 100644 --- a/config.h +++ b/config.h @@ -287,7 +287,7 @@ const lword LWORD_MAX = W64LIT(0xffffffffffffffff); #else #define CRYPTOPP_NATIVE_DWORD_AVAILABLE 1 #if defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || defined(__x86_64__) || defined(__mips64) || defined(__sparc64__) -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !(CRYPTOPP_GCC_VERSION == 40001 && defined(__APPLE__)) && !(defined(__GNUC__) && CRYPTOPP_GCC_VERSION < 50000 && defined(_ARCH_PPC64)) && CRYPTOPP_GCC_VERSION >= 30400 + #if ((CRYPTOPP_GCC_VERSION >= 30400) || (CRYPTOPP_LLVM_CLANG_VERSION >= 30000) || (CRYPTOPP_APPLE_CLANG_VERSION >= 40300)) && (__SIZEOF_INT128__ >= 16) // GCC 4.0.1 on MacOS X is missing __umodti3 and __udivti3 // GCC 4.8.3 and bad uint128_t ops on PPC64/POWER7 (Issue 421) // mode(TI) division broken on amd64 with GCC earlier than GCC 3.4