File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ win32-msvc* {
4444
4545macx {
4646 ICON = src/icon.icns
47+ # If you are using qt from brew, remove line below
48+ QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
49+ QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15
4750}
4851
4952QMAKE_CLEAN += qrc_icon_ico.cpp \
Original file line number Diff line number Diff line change 1717 along with DelayCut. If not, see <http://www.gnu.org/licenses/>.
1818*/
1919
20- /*fix apple sillicon build*/
21-
22- #ifdef __APPLE__
23- #define stat64 stat
24- #define fstat64 fstat
25- #endif
26-
2720#ifndef DC_TYPES_H
2821#define DC_TYPES_H
2922
Original file line number Diff line number Diff line change 3030#include < QFileInfo>
3131#include < QThread>
3232
33+ /* Probably better fix for building on mac */
34+ #if defined(__APPLE__)
35+ #include < sys/cdefs.h>
36+ #endif
37+ #if defined(__APPLE__) && defined(_DARWIN_FEATURE_ONLY_64_BIT_INODE)
38+ #define stat64 stat
39+ #define fstat64 fstat
40+ #endif
41+
3342#define NUMREAD 8
3443#define MAXBYTES_PER_FRAME 2 *1280
3544#define MAXLOGERRORS 100
You can’t perform that action at this time.
0 commit comments