mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
Fix compilation under win32; fix installation of lib under win32
This commit is contained in:
@@ -115,7 +115,7 @@ bool OSDAB_ZIP_MANGLE(setFileTimestamp)(const QString& fileName, const QDateTime
|
||||
return true;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
HANDLE hFile = CreateFile(fileName.toStdWString().c_str(),
|
||||
HANDLE hFile = CreateFileW(fileName.toStdWString().c_str(),
|
||||
GENERIC_WRITE, FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0);
|
||||
if (hFile == INVALID_HANDLE_VALUE) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user