Unbreak folly on x86-32
[folly.git] / folly / RWSpinLock.h
index 8edd6b3279679d82c68e0c8614b594e539939c8d..94f48028289ca496d6d29059ff3d2be0814643ab 100644 (file)
@@ -148,7 +148,7 @@ pthread_rwlock_t Read        728698     24us       101ns     7.28ms     194us
 #endif
 
 // iOS doesn't define _mm_cvtsi64_si128 and friends
-#if (FOLLY_SSE >= 2) && !FOLLY_MOBILE
+#if (FOLLY_SSE >= 2) && !FOLLY_MOBILE && FOLLY_X64
 #define RW_SPINLOCK_USE_SSE_INSTRUCTIONS_
 #else
 #undef RW_SPINLOCK_USE_SSE_INSTRUCTIONS_