BUG/MINOR: build: Fix failure with USE_OPENSSL=1 and USE_FUTEX=1 on archs i486 and i686.

This commit is contained in:
Emeric Brun 2012-10-04 17:28:25 +02:00 committed by Willy Tarreau
parent 0914df894f
commit ce08baa36d

View 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"