Commit 21f8e18e authored by Kai Koehne's avatar Kai Koehne
Browse files

TcpPortsGatherer: Fix compilation with latest MinGW-32



Latest MinGW uses gcc 4.7.1 , but still hasn't the structures defined.

Change-Id: I90c4c0a10d38488c7f3347830391489032a98328
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 8c61eb04
......@@ -45,8 +45,8 @@
#if defined(Q_OS_WIN) && defined(Q_CC_MINGW)
// Missing declarations for MinGW. This requires MinGW with gcc 4.6.
#if __GNUC__ == 4 && __GNUC_MINOR__ < 7 && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 2)
// Missing declarations for MinGW 32.
#if __GNUC__ == 4 && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 2)
typedef enum { } MIB_TCP_STATE;
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment