From b7433faa1bfffab07e581cf431371293b2f5e697 Mon Sep 17 00:00:00 2001 From: Elizabeth Smith Date: Fri, 18 Apr 2014 09:28:00 -0700 Subject: [PATCH] x64 detection missing an include Summary: rwspinlock.h was missing the portability.h header which made the x64 detection go wonky, but only shows up when used with isolated rwspinlock use Test Plan: fbmake runtests Reviewed By: andrei.alexandrescu@fb.com FB internal diff: D1284387 Blame Revision: D1282140 --- folly/RWSpinLock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/RWSpinLock.h b/folly/RWSpinLock.h index c52f7e8b..dbef6388 100644 --- a/folly/RWSpinLock.h +++ b/folly/RWSpinLock.h @@ -106,6 +106,8 @@ pthread_rwlock_t Read 728698 24us 101ns 7.28ms 194us */ +#include "folly/Portability.h" + #if defined(__GNUC__) && !defined(__clang__) && \ (defined(__i386) || FOLLY_X64 || \ defined(ARCH_K8)) -- 2.34.1