mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
make package on macos 13 (#4961)
This commit is contained in:
parent
fa727524dc
commit
1716801437
2 changed files with 10 additions and 16 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "zipglobal.h"
|
||||
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_WINCE) || defined(Q_OS_LINUX) || defined(Q_OS_MACX)
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_WINCE) || defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
|
||||
#define OSDAB_ZIP_HAS_UTC
|
||||
#include <ctime>
|
||||
#else
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <QtCore/qt_windows.h>
|
||||
#elif defined(Q_OS_LINUX) || defined(Q_OS_MACX)
|
||||
#elif defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
|
||||
#include <utime.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ bool OSDAB_ZIP_MANGLE(setFileTimestamp)(const QString &fileName, const QDateTime
|
|||
CloseHandle(hFile);
|
||||
return success;
|
||||
|
||||
#elif defined(Q_OS_LINUX) || defined(Q_OS_MACX)
|
||||
#elif defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
|
||||
|
||||
struct utimbuf t_buffer;
|
||||
t_buffer.actime = t_buffer.modtime = dateTime.toSecsSinceEpoch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue