aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/difficulty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptonote_core/difficulty.cpp')
-rw-r--r--src/cryptonote_core/difficulty.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cryptonote_core/difficulty.cpp b/src/cryptonote_core/difficulty.cpp
index 6486d8124..2b5466791 100644
--- a/src/cryptonote_core/difficulty.cpp
+++ b/src/cryptonote_core/difficulty.cpp
@@ -45,10 +45,7 @@ namespace cryptonote {
using std::uint64_t;
using std::vector;
-#if defined(_MSC_VER) || defined(__MINGW32__)
-#include <windows.h>
-#include <winnt.h>
-
+#if defined(__x86_64__)
static inline void mul(uint64_t a, uint64_t b, uint64_t &low, uint64_t &high) {
low = mul128(a, b, &high);
}