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:
Friedemann Kleint
2012-04-25 12:23:47 +02:00
parent feba990f6e
commit 232af02fab

View File

@@ -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;