add primitive InterlockedOr64 implementation

use non msvc specific type for int64_t

add umul for gcc
This commit is contained in:
Peter Tissen 2014-06-02 17:49:30 +02:00
parent b05bd51216
commit 96e229abfa
2 changed files with 20 additions and 2 deletions

View file

@ -406,7 +406,7 @@ public:
}
else
{
InterlockedOr64((volatile __int64*)m_indval, ((u64)value << 32) | 1);
InterlockedOr64((volatile s64*)m_indval, ((u64)value << 32) | 1);
}
}