Commit f5a547a9 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Include windows.h in atomics framework for windows

parent fe1287ea
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
*/ */
#undef MY_ATOMIC_HAS_8_16 #undef MY_ATOMIC_HAS_8_16
#include <windows.h>
/* /*
x86 compilers (both VS2003 or VS2005) never use instrinsics, but generate x86 compilers (both VS2003 or VS2005) never use instrinsics, but generate
function calls to kernel32 instead, even in the optimized build. function calls to kernel32 instead, even in the optimized build.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment