summaryrefslogtreecommitdiff
path: root/ecb.h
diff options
context:
space:
mode:
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