Browse Source

Move __USE_W32_SOCKETS to its place

From boost.asio documentation:
> The following platforms may also work:
>   Win32 using Cygwin. (__USE_W32_SOCKETS must be defined.)
adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
e418ea03e2
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      winconf.pri

2
winconf.pri

@ -13,7 +13,6 @@ DEFINES += _WIN32 @@ -13,7 +13,6 @@ DEFINES += _WIN32
DEFINES += WIN32_LEAN_AND_MEAN
DEFINES += _CRT_SECURE_NO_DEPRECATE
DEFINES += _SCL_SECURE_NO_DEPRECATE
DEFINES += __USE_W32_SOCKETS
DEFINES += _FILE_OFFSET_BITS=64
DEFINES += NOMINMAX
@ -30,6 +29,7 @@ win32-g++* { @@ -30,6 +29,7 @@ win32-g++* {
QMAKE_LFLAGS -= -Wl,--dynamicbase
}
DEFINES += __USE_W32_SOCKETS
RC_FILE = qbittorrent_mingw.rc
LIBS += libadvapi32 libshell32 libuser32 libole32 libwsock32 libws2_32

Loading…
Cancel
Save