From: Dmitry Timoshkov dmitry@baikal.ru
This fixes Wine tests compilation with Visual Studio 10.0 CRT headers.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- include/sal.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/sal.h b/include/sal.h index 72803a1be39..d49f6308327 100644 --- a/include/sal.h +++ b/include/sal.h @@ -89,6 +89,7 @@ #define _Inout_ #define _Inout_bytecap_x_(count) #define _Inout_cap_(count) +#define _Inout_cap_c_(count) #define _Inout_opt_ #define _Inout_opt_cap_c_(count) #define _Inout_opt_z_
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*);
This is already defined a few lines further down.