diff options
author | lee <leelf_00@126.com> | 2024-03-27 17:50:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 10:50:07 +0100 |
commit | 370685457e83c9657c1337ea5a2dc2f07e01af62 (patch) | |
tree | c48a057c5b0c286793cd9c8cb57f0584c56cd2c6 /src | |
parent | 6a54dc5a34665e54937d1300e73a087b5938c1ab (diff) |
Build: Fix Linux aarch64 GCC build (#29831)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Utilities/SFMTRand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/SFMTRand.cpp b/src/common/Utilities/SFMTRand.cpp index 6aeb49b9e38..63918fce710 100644 --- a/src/common/Utilities/SFMTRand.cpp +++ b/src/common/Utilities/SFMTRand.cpp @@ -24,7 +24,7 @@ #if __has_include(<mm_malloc.h>) #include <mm_malloc.h> -#elif __has_include(<malloc.h>) +#elif __has_include(<malloc.h>) && TRINITY_COMPILER == TRINITY_COMPILER_MICROSOFT #include <malloc.h> #else static __inline__ void *__attribute__((__always_inline__, __nodebug__, __malloc__)) |