diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index a68461c61..370bd053e 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -97,7 +97,7 @@ #include #endif -#if _WIN32_WINNT < 0x0600 +#if defined(Q_OS_WIN) && (_WIN32_WINNT < 0x0600) using NETIO_STATUS = LONG; #endif