Commit 2f0afa60 authored by Sergei Golubchik's avatar Sergei Golubchik

more windows fixes

include/atomic/generic-msvc.h:
  explicit cast from volatile int32 * to volatile LONG *
parent b54ac072
...@@ -52,8 +52,8 @@ LONG _InterlockedExchangeAdd (LONG volatile *Addend, LONG Value); ...@@ -52,8 +52,8 @@ LONG _InterlockedExchangeAdd (LONG volatile *Addend, LONG Value);
#endif /*_M_IX86*/ #endif /*_M_IX86*/
#define MY_ATOMIC_MODE "msvc-intrinsics" #define MY_ATOMIC_MODE "msvc-intrinsics"
#define IL_EXCHG_ADD32 InterlockedExchangeAdd #define IL_EXCHG_ADD32(X,Y) InterlockedExchangeAdd((volatile LONG *)(X),(Y))
#define IL_COMP_EXCHG32 InterlockedCompareExchange #define IL_COMP_EXCHG32(X,Y,Z) InterlockedCompareExchange((volatile LONG *)(X),(Y),(Z))
#define IL_COMP_EXCHGptr InterlockedCompareExchangePointer #define IL_COMP_EXCHGptr InterlockedCompareExchangePointer
#define IL_EXCHG32 InterlockedExchange #define IL_EXCHG32 InterlockedExchange
#define IL_EXCHGptr InterlockedExchangePointer #define IL_EXCHGptr InterlockedExchangePointer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment