mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
win32 compile fixes
This commit is contained in:
@@ -60,7 +60,7 @@ inline bool acquire_file_lock(int hnd)
|
||||
return -1 != ::fcntl(hnd, F_SETLK, &lock);
|
||||
#else
|
||||
HANDLE hFile = (HANDLE)_get_osfhandle(hnd);
|
||||
return true == ::LockFile(hFile, 0, 0, 0, -0x10000);
|
||||
return TRUE == ::LockFile(hFile, 0, 0, 0, -0x10000);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user