From 01d9c7dda77f3a0141324946afedb19036bc1292 Mon Sep 17 00:00:00 2001 From: Peter Griess Date: Thu, 26 Sep 2013 09:35:29 -0500 Subject: [PATCH] Use RW_SPINLOCK_USE_X86_INTRINSIC_ in RWSpinLockTest Summary: - This macro is computed based on whether or not we support x86 intrinsics in RWSpinLock.h; re-use it rather than re-computing this (and getting it wrong). Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: oyamauchi@fb.com FB internal diff: D998586 --- folly/test/RWSpinLockTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/folly/test/RWSpinLockTest.cpp b/folly/test/RWSpinLockTest.cpp index 9169e887..85181730 100644 --- a/folly/test/RWSpinLockTest.cpp +++ b/folly/test/RWSpinLockTest.cpp @@ -41,8 +41,7 @@ template struct RWSpinLockTest: public testing::Test { }; typedef testing::Types, RWTicketSpinLockT<32, false>, RWTicketSpinLockT<64, true>, -- 2.34.1