From 5c02cb50dafdde339d7692b45045559ff19826eb Mon Sep 17 00:00:00 2001
From: XMRig <support@xmrig.com>
Date: Fri, 18 Oct 2019 21:26:15 +0700
Subject: [PATCH] Fix copy/paste typo.

---
 src/crypto/randomx/jit_compiler_a64.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/crypto/randomx/jit_compiler_a64.cpp b/src/crypto/randomx/jit_compiler_a64.cpp
index b31d1fa82..5587ca242 100644
--- a/src/crypto/randomx/jit_compiler_a64.cpp
+++ b/src/crypto/randomx/jit_compiler_a64.cpp
@@ -149,7 +149,7 @@ void JitCompilerA64::generateProgram(Program& program, ProgramConfiguration& con
 	codePos = ((uint8_t*)randomx_program_aarch64_update_spMix1) - ((uint8_t*)randomx_program_aarch64);
 	emit32(ARMV8A::EOR | 10 | (IntRegMap[config.readReg0] << 5) | (IntRegMap[config.readReg1] << 16), code, codePos);
 
-#	ifdef HAVE_BUILTIN_CLEAR_CACHE_
+#	ifdef HAVE_BUILTIN_CLEAR_CACHE
 	__builtin___clear_cache(reinterpret_cast<char*>(code + MainLoopBegin), reinterpret_cast<char*>(code + codePos));
 #	endif
 }