From ef856d01cc64c1b03e8531f5355ce1e207721e2e Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 27 Jan 2020 22:42:18 +0100 Subject: [PATCH] diff switched to more portable ver --- src/currency_core/difficulty.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/currency_core/difficulty.cpp b/src/currency_core/difficulty.cpp index 7e217c00..68d82c15 100644 --- a/src/currency_core/difficulty.cpp +++ b/src/currency_core/difficulty.cpp @@ -24,7 +24,7 @@ namespace currency { using std::uint64_t; using std::vector; -#if defined(_MSC_VER) +//#if defined(_MSC_VER) //#include //#include @@ -36,7 +36,7 @@ namespace currency { //low = UnsignedMultiply128(a, b, &high); } -#else +/* #else static inline void mul(uint64_t a, uint64_t b, uint64_t &low, uint64_t &high) { typedef unsigned __int128 uint128_t; @@ -45,7 +45,7 @@ namespace currency { high = (uint64_t)(res >> 64); } -#endif +#endif */ static inline bool cadd(uint64_t a, uint64_t b) { return a + b < a;