summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index d66c12e..0c423dc 100644
--- a/ev.c
+++ b/ev.c
@@ -544,7 +544,7 @@ struct signalfd_siginfo
#ifndef ECB_MEMORY_FENCE
#if ECB_GCC_VERSION(2,5)
- #if __x86
+ #if __i386__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("lock; orb $0, -1(%%esp)" : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE ECB_MEMORY_FENCE /* non-lock xchg might be enough */
#define ECB_MEMORY_FENCE_RELEASE do { } while (0) /* unlikely to change in future cpus */