Commit 0b64fe80 authored by tjenssen's avatar tjenssen Committed by Friedemann Kleint
Browse files

fix zeroconf on windows



Change-Id: I54e5c284d7fe109fe2fe6b0f50b25acfc3868a71
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent f9336367
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment