aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/SFMTRand.cpp
diff options
context:
space:
mode:
authordaMaex <damaex@live.de>2020-02-23 22:37:02 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-22 12:30:00 +0100
commit8181177aea9becb4e404d021f1b1e3902d21d7ec (patch)
treeb7debc20fe39cb0d9a63271fc4138f364ebe5196 /src/common/Utilities/SFMTRand.cpp
parent38bca4eeb69ff59b76863cedce08914e555d0649 (diff)
Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)
* build again on aarch64 * include mm_malloc header instead of defining self (cherry picked from commit cbe765df7a75f61941583ab95ecaa153e198d3de)
Diffstat (limited to 'src/common/Utilities/SFMTRand.cpp')
-rw-r--r--src/common/Utilities/SFMTRand.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/Utilities/SFMTRand.cpp b/src/common/Utilities/SFMTRand.cpp
index 2c472f2364a..eb6e993c856 100644
--- a/src/common/Utilities/SFMTRand.cpp
+++ b/src/common/Utilities/SFMTRand.cpp
@@ -20,7 +20,11 @@
#include <array>
#include <functional>
#include <random>
+#if defined(__aarch64__)
+#include <mm_malloc.h>
+#else
#include <emmintrin.h>
+#endif
#include <ctime>
SFMTRand::SFMTRand()