mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 14:46:09 +00:00
add interlockedcompareexchange
This commit is contained in:
@@ -87,6 +87,10 @@ namespace kernel32 {
|
||||
}
|
||||
}
|
||||
|
||||
LONG InterlockedCompareExchange(volatile LONG* destination, LONG exchange, LONG comperand){
|
||||
return __sync_val_compare_and_swap(destination, comperand, exchange);
|
||||
}
|
||||
|
||||
int64_t getFileSize(void* hFile) {
|
||||
FILE *fp = files::fpFromHandle(hFile);
|
||||
struct stat64 st;
|
||||
|
||||
Reference in New Issue
Block a user