Skip to content

Commit f5a547a

Browse files
author
Mikael Ronstrom
committed
Include windows.h in atomics framework for windows
1 parent fe1287e commit f5a547a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/atomic/generic-msvc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*/
2424
#undef MY_ATOMIC_HAS_8_16
2525

26+
#include <windows.h>
2627
/*
2728
x86 compilers (both VS2003 or VS2005) never use instrinsics, but generate
2829
function calls to kernel32 instead, even in the optimized build.

0 commit comments

Comments
 (0)