diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-12-15 18:12:49 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-12-15 18:12:49 +0100 |
commit | 6b0bb0506880d04d6a1d6cd5c6c03f2aebe4ca24 (patch) | |
tree | b085452e13223eadc37f3d3f1bfab9e2b86146d4 /include/atomic | |
parent | 0d28ae37e5cc4a8a3d5e869345c471dc2ea92e96 (diff) | |
download | mariadb-git-6b0bb0506880d04d6a1d6cd5c6c03f2aebe4ca24.tar.gz |
Include windows.h in atomics framework for windows
Diffstat (limited to 'include/atomic')
-rw-r--r-- | include/atomic/generic-msvc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/atomic/generic-msvc.h b/include/atomic/generic-msvc.h index 77319aaa93c..4a50dc4a667 100644 --- a/include/atomic/generic-msvc.h +++ b/include/atomic/generic-msvc.h @@ -23,6 +23,7 @@ */ #undef MY_ATOMIC_HAS_8_16 +#include <windows.h> /* x86 compilers (both VS2003 or VS2005) never use instrinsics, but generate function calls to kernel32 instead, even in the optimized build. |