From a32e991129f96e98d1522356d3a2e51eae0194f6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 15 Sep 2011 13:20:54 +0000 Subject: refactor scandir a bit --- ecb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecb.h') 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 */ -- cgit v1.2.3