diff --git a/src/crypto/randomx/jit_compiler_a64.cpp b/src/crypto/randomx/jit_compiler_a64.cpp index f62550d04..79e099a0d 100644 --- a/src/crypto/randomx/jit_compiler_a64.cpp +++ b/src/crypto/randomx/jit_compiler_a64.cpp @@ -109,7 +109,7 @@ void sys_icache_invalidate(void *start, size_t len); static void clear_code_cache(void* p, size_t size) { -# ifdef HAVE_BUILTIN_CLEAR_CACHE_ +# ifdef HAVE_BUILTIN_CLEAR_CACHE __builtin___clear_cache(p, size); # elif defined(ios_HOST_OS) || defined (darwin_HOST_OS) sys_icache_invalidate(p, size);