1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sync: use mfence on windows-tcc (#6079)

This commit is contained in:
Uwe Krüger
2020-08-06 17:31:05 +02:00
committed by GitHub
parent ea76a33b43
commit d63daa0798
9 changed files with 17 additions and 11 deletions

View File

@ -123,7 +123,7 @@ __CRT_INLINE SHORT _InterlockedExchangeAdd16(SHORT volatile *Addend, SHORT Value
#define InterlockedIncrement64 _InterlockedExchangeAdd64
__CRT_INLINE VOID __faststorefence() {
__asm__ __volatile__ ("sfence");
__asm__ __volatile__ ("mfence");
}
#endif