#include <unistd.h>
#include <folly/detail/Futex.h>
+#include <folly/Portability.h>
namespace folly {
// the first effectSpinCutoff tries are spins, after that we will
// record ourself as a waiter and block with futexWait
if (tries < effectiveSpinCutoff) {
- asm volatile ("pause");
+ asm_volatile_pause();
continue;
}