mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Fix 32-bit Windows build AGAIN
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3912 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3fa198f208
commit
96b03effcc
@ -48,7 +48,7 @@ inline void AtomicAdd(volatile u32& target, u32 value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void AtomicAnd(volatile u32& target, u32 value) {
|
inline void AtomicAnd(volatile u32& target, u32 value) {
|
||||||
InterlockedAnd((volatile LONG*)&target, (LONG)value);
|
_InterlockedAnd((volatile LONG*)&target, (LONG)value);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void AtomicIncrement(volatile u32& target) {
|
inline void AtomicIncrement(volatile u32& target) {
|
||||||
@ -65,7 +65,7 @@ inline u32 AtomicLoadAcquire(volatile u32& src) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void AtomicOr(volatile u32& target, u32 value) {
|
inline void AtomicOr(volatile u32& target, u32 value) {
|
||||||
InterlockedOr((volatile LONG*)&target, (LONG)value);
|
_InterlockedOr((volatile LONG*)&target, (LONG)value);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void AtomicStore(volatile u32& dest, u32 value) {
|
inline void AtomicStore(volatile u32& dest, u32 value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user