fix IOBuf self move-assignment
[folly.git] / folly / SmallLocks.h
index 8bd1900b784ff7b2ff094d259e36a0bf3afdbca4..b8f081a668b5e2401ea8f483c5f67901bdede4f9 100644 (file)
 #include <mutex>
 
 #include <glog/logging.h>
+#include "folly/Portability.h"
 
-#ifndef __x86_64__
+#if !FOLLY_X64
 # error "SmallLocks.h is currently x64-only."
 #endif
 
-#include "folly/Portability.h"
-
 namespace folly {
 
 //////////////////////////////////////////////////////////////////////