mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-21 09:25:29 -04:00
BUG/MINOR: build: Fix failure with USE_OPENSSL=1 and USE_FUTEX=1 on archs i486 and i686.
This commit is contained in:
parent
0914df894f
commit
ce08baa36d
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue