Fix 32-bit Windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3785 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
389a2c6fc8
commit
48a5c4211c
|
@ -43,7 +43,7 @@ namespace Common
|
|||
{
|
||||
|
||||
inline void AtomicAdd(volatile u32& target, u32 value) {
|
||||
InterlockedAdd((volatile LONG*)&target, (LONG)value);
|
||||
InterlockedExchangeAdd((volatile LONG*)&target, (LONG)value);
|
||||
}
|
||||
|
||||
inline void AtomicIncrement(volatile u32& target) {
|
||||
|
|
Loading…
Reference in New Issue