mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 22:56:13 +00:00
Make liburing optional; rewrite CMakeLists.txt and enable LTO
This commit is contained in:
@@ -502,7 +502,7 @@ HANDLE WIN_FUNC CreateFileMappingA(HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMap
|
||||
}
|
||||
mapping->fd = dupFd;
|
||||
if (size == 0) {
|
||||
off64_t fileSize = lseek64(dupFd, 0, SEEK_END);
|
||||
off_t fileSize = lseek(dupFd, 0, SEEK_END);
|
||||
if (fileSize < 0) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user