diff --git a/src/ripple/shamap/impl/SHAMapInnerNode.cpp b/src/ripple/shamap/impl/SHAMapInnerNode.cpp index c47ac3864b..eb00f8587f 100644 --- a/src/ripple/shamap/impl/SHAMapInnerNode.cpp +++ b/src/ripple/shamap/impl/SHAMapInnerNode.cpp @@ -34,8 +34,10 @@ #include #include +#ifndef __aarch64__ // This is used for the _mm_pause instruction: #include +#endif namespace ripple { @@ -100,7 +102,9 @@ public: if (try_lock()) return; +#ifndef __aarch64__ _mm_pause(); +#endif } std::this_thread::yield();