summaryrefslogtreecommitdiff
path: root/ecb.h
diff options
context:
space:
mode:
authorroot <root>2011-09-15 13:20:54 +0000
committerroot <root>2011-09-15 13:20:54 +0000
commita32e991129f96e98d1522356d3a2e51eae0194f6 (patch)
tree265172ec07e74620e3c01d2409a536b1d2749f66 /ecb.h
parent38bea41166a5b3d80d66796133bf45c29d0666c7 (diff)
refactor scandir a bit
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 */