diff options
author | root <root> | 2011-07-26 11:07:08 +0000 |
---|---|---|
committer | root <root> | 2011-07-26 11:07:08 +0000 |
commit | c18752d00052e3284b84db29bdadb42f83a9dcec (patch) | |
tree | 34a52b00ebed502464d7cf9cef92e2a811615460 /ecb.h | |
parent | f5975d60cfe2e7d1b6c259f5ad800a823ee682c3 (diff) |
better rename()
Diffstat (limited to 'ecb.h')
-rw-r--r-- | ecb.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |