From: Emeric Brun Date: Thu, 4 Oct 2012 15:28:25 +0000 (+0200) Subject: BUG/MINOR: build: Fix failure with USE_OPENSSL=1 and USE_FUTEX=1 on archs i486 and... X-Git-Tag: v1.5-dev13~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce08baa36d5ab127611fe15765a964c3b389ecbe;p=thirdparty%2Fhaproxy.git BUG/MINOR: build: Fix failure with USE_OPENSSL=1 and USE_FUTEX=1 on archs i486 and i686. --- diff --git a/src/shctx.c b/src/shctx.c index 2db8f790fe..b8bfd4a49a 100644 --- a/src/shctx.c +++ b/src/shctx.c @@ -67,7 +67,7 @@ static void (*shared_session_new_cbk)(unsigned char *session, unsigned int sessi #else #ifdef USE_SYSCALL_FUTEX -#if defined (__i586__) || defined (__x86_64__) +#if defined (__i486__) || defined (__i586__) || defined (__i686__) || defined (__x86_64__) static inline unsigned int xchg(unsigned int *ptr, unsigned int x) { __asm volatile("lock xchgl %0,%1"