From: Dmitry Timoshkov dmitry@baikal.ru
This fixes Wine tests compilation with Visual Studio 10.0.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- include/winnt.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/winnt.h b/include/winnt.h index e7c322fd127..e67fd070790 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -6914,6 +6914,7 @@ typedef enum _FIRMWARE_TYPE #pragma intrinsic(_InterlockedExchange) #pragma intrinsic(_InterlockedExchangeAdd) #pragma intrinsic(_InterlockedExchangeAdd16) +#pragma intrinsic(_InterlockedExchangeAdd64) #pragma intrinsic(_InterlockedExchangePointer) #pragma intrinsic(_InterlockedIncrement) #pragma intrinsic(_InterlockedIncrement16) @@ -6934,6 +6935,7 @@ short _InterlockedDecrement16(short volatile*); long _InterlockedExchange(long volatile*,long); long _InterlockedExchangeAdd(long volatile*,long); short _InterlockedExchangeAdd16(short volatile*,short); +__int64 _InterlockedExchangeAdd64(__int64 volatile *, __int64); void * _InterlockedExchangePointer(void *volatile*,void*); long _InterlockedIncrement(long volatile*); short _InterlockedIncrement16(short volatile*);