forked from qt-creator/qt-creator
fix zeroconf on windows
Change-Id: I54e5c284d7fe109fe2fe6b0f50b25acfc3868a71 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
committed by
Friedemann Kleint
parent
f933636717
commit
0b64fe80dc
@@ -30,6 +30,10 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
//disable min max macros from windows headers,
|
||||
//because we want to use the template methods from std
|
||||
#define NOMINMAX
|
||||
|
||||
#include "mdnsderived.h"
|
||||
#include "servicebrowser_p.h"
|
||||
|
||||
@@ -48,6 +52,11 @@
|
||||
#include <QtCore/QtEndian>
|
||||
#include <QtNetwork/QHostInfo>
|
||||
|
||||
//the timeval struct under windows uses long instead of suseconds_t
|
||||
#ifdef Q_OS_WIN
|
||||
typedef long suseconds_t;
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\namespace ZeroConf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user