Skip to content

Commit

Permalink
Fix compile failure on raspberry pi machines, issue #141
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed Feb 29, 2020
1 parent 54c96d1 commit aaca32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aaca32a

Please sign in to comment.