From c18752d00052e3284b84db29bdadb42f83a9dcec Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Jul 2011 11:07:08 +0000 Subject: better rename() --- ecb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ecb.h') diff --git a/ecb.h b/ecb.h index 36f04fd..75f1237 100644 --- a/ecb.h +++ b/ecb.h @@ -88,7 +88,8 @@ #define ECB_MEMORY_FENCE do { } while (0) #define ECB_MEMORY_FENCE_ACQUIRE ECB_MEMORY_FENCE #define ECB_MEMORY_FENCE_RELEASE ECB_MEMORY_FENCE - #elif defined(_WIN32) && defined(MemoryBarrier) + #elif defined(_WIN32) + #include #define ECB_MEMORY_FENCE MemoryBarrier () #define ECB_MEMORY_FENCE_ACQUIRE ECB_MEMORY_FENCE #define ECB_MEMORY_FENCE_RELEASE ECB_MEMORY_FENCE -- cgit v1.2.3