Fix another race in Notification Queue
[folly.git] / folly / SmallLocks.h
index 8bd1900b784ff7b2ff094d259e36a0bf3afdbca4..1e2915d5de127c5ffab8627c34e08cf9273277f3 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 {
 
 //////////////////////////////////////////////////////////////////////