commit | ce08baa36d5ab127611fe15765a964c3b389ecbe | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Thu Oct 04 17:28:25 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 05 20:00:03 2012 +0200 |
tree | a34516c4dc7e16ac97d3e258e780b8ec6675b1dd | |
parent | 0914df894ff685ba2469bea6cb239a24c5b2d531 [diff] |
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 2db8f79..b8bfd4a 100644 --- a/src/shctx.c +++ b/src/shctx.c
@@ -67,7 +67,7 @@ #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"