summaryrefslogtreecommitdiff
path: root/ecb.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecb.h')
-rw-r--r--ecb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecb.h b/ecb.h
index b733c42..0b4541e 100644
--- a/ecb.h
+++ b/ecb.h
@@ -74,7 +74,7 @@
#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 */