Fix compilation of MinGW-w64

Change-Id: I059dacd10a585e35b34c8e190f6a5e2a9de2f1d4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Yuchen Deng
2012-08-17 21:47:17 +08:00
committed by Oswald Buddenhagen
parent 540c4b19f6
commit b7e57da761

View File

@@ -46,7 +46,7 @@
#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
#if __GNUC__ == 4 && __GNUC_MINOR__ < 7 && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 2)
typedef enum { } MIB_TCP_STATE;
#endif