]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: build: Fix failure with USE_OPENSSL=1 and USE_FUTEX=1 on archs i486 and...
authorEmeric Brun <ebrun@exceliance.fr>
Thu, 4 Oct 2012 15:28:25 +0000 (17:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2012 18:00:03 +0000 (20:00 +0200)
src/shctx.c

index 2db8f790feaba0646892c0dd34ff598c1161a22e..b8bfd4a49aa3b43f43238022efb3b74291ea03c3 100644 (file)
@@ -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"