Zeroconf: Compile with MinGW.

Change-Id: I01a24619728adc8f6f8bad6a8b50693c381600b1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-02-02 16:23:33 +01:00
parent 38510a482d
commit be8c7fc356

View File

@@ -30,9 +30,14 @@
**
**************************************************************************/
//disable min max macros from windows headers,
//because we want to use the template methods from std
#define NOMINMAX
#ifdef Q_OS_WIN
// Disable min max macros from windows headers,
// because we want to use the template methods from std.
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <winsock.h>
#endif // Q_OS_WIN
#include "mdnsderived.h"
#include "servicebrowser_p.h"