forked from qt-creator/qt-creator
tcpportsgatherer.cpp: Fix compilation with MinGW/gcc 4.7.1.
Change-Id: If8e49e5ce4a454c03f40f325e2d17d8dd2685430 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -48,7 +48,9 @@
|
||||
#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
|
||||
typedef enum { } MIB_TCP_STATE;
|
||||
#endif
|
||||
|
||||
typedef struct _MIB_TCP6ROW {
|
||||
MIB_TCP_STATE State;
|
||||
|
||||
Reference in New Issue
Block a user