summaryrefslogtreecommitdiff
path: root/ecb.h
diff options
context:
space:
mode:
authorroot <root>2011-07-26 11:07:08 +0000
committerroot <root>2011-07-26 11:07:08 +0000
commitc18752d00052e3284b84db29bdadb42f83a9dcec (patch)
tree34a52b00ebed502464d7cf9cef92e2a811615460 /ecb.h
parentf5975d60cfe2e7d1b6c259f5ad800a823ee682c3 (diff)
better rename()
Diffstat (limited to 'ecb.h')
-rw-r--r--ecb.h3
1 files changed, 2 insertions, 1 deletions
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 <WinNT.h>
#define ECB_MEMORY_FENCE MemoryBarrier ()
#define ECB_MEMORY_FENCE_ACQUIRE ECB_MEMORY_FENCE
#define ECB_MEMORY_FENCE_RELEASE ECB_MEMORY_FENCE