forked from qt-creator/qt-creator
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: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user