From: Jinoh Kang jinoh.kang.kr@gmail.com
ReadNoFence64 is broken on i386 MSVC <11.0 and Clang MSVC mode, and has never been used inside Wine for PE side.
Fixes: f82b1c1fcf770a5d6fa02c3f286282be79a201b8 --- include/winnt.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/winnt.h b/include/winnt.h index 2547f841b7c..aced6b555f4 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -7120,11 +7120,13 @@ static FORCEINLINE LONG ReadNoFence( LONG const volatile *src ) return value; }
+#ifndef __WINESRC__ static FORCEINLINE LONG64 ReadNoFence64( LONG64 const volatile *src ) { LONG64 value = __WINE_LOAD64_NO_FENCE( (__int64 const volatile *)src ); return value; } +#endif
static FORCEINLINE void WriteRelease( LONG volatile *dest, LONG value ) {