From 7c8948c45ee861137530ba42649c4d0699be6ac1 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 23 Jun 2019 11:43:28 +0800 Subject: [PATCH] Move _FILE_OFFSET_BITS to its place _FILE_OFFSET_BITS is only useful for glibc. --- winconf.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winconf.pri b/winconf.pri index b378024ef..f26de480a 100644 --- a/winconf.pri +++ b/winconf.pri @@ -13,7 +13,6 @@ DEFINES += _WIN32 DEFINES += WIN32_LEAN_AND_MEAN DEFINES += _CRT_SECURE_NO_DEPRECATE DEFINES += _SCL_SECURE_NO_DEPRECATE -DEFINES += _FILE_OFFSET_BITS=64 DEFINES += NOMINMAX CONFIG(debug, debug|release) { @@ -29,7 +28,9 @@ win32-g++* { QMAKE_LFLAGS -= -Wl,--dynamicbase } + DEFINES += _FILE_OFFSET_BITS=64 DEFINES += __USE_W32_SOCKETS + RC_FILE = qbittorrent_mingw.rc LIBS += libadvapi32 libshell32 libuser32 libole32 libwsock32 libws2_32