From ec4eb534d7d5ba54a4c6b7230b255fa63be78c3a Mon Sep 17 00:00:00 2001 From: John Sully Date: Fri, 28 Feb 2020 23:49:17 -0500 Subject: [PATCH] Fix compile failure on raspberry pi machines, issue #141 Former-commit-id: aaca32a5cd1bdb0314b4a57847938854b8a4fef2 --- src/fastlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastlock.cpp b/src/fastlock.cpp index 788d84c97..49c0fb095 100644 --- a/src/fastlock.cpp +++ b/src/fastlock.cpp @@ -299,7 +299,7 @@ extern "C" void fastlock_lock(struct fastlock *lock) #if defined(__i386__) || defined(__amd64__) __asm__ __volatile__ ("pause"); -#elif defined(__arm__) +#elif defined(__aarch64__) __asm__ __volatile__ ("yield"); #endif if ((++cloops % 0x100000) == 0)