From 6ebd4ed176de0a8dfb2f99273f81a53d95ab385e Mon Sep 17 00:00:00 2001 From: stpohle Date: Fri, 18 Dec 2009 09:21:40 +0000 Subject: [PATCH] MSG_DONTWAIT isn't known on windows.. --- include/udp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/udp.h b/include/udp.h index 9c8c049..128c976 100644 --- a/include/udp.h +++ b/include/udp.h @@ -1,4 +1,4 @@ -/* $Id: udp.h,v 1.2 2005/03/27 01:31:50 stpohle Exp $ +/* $Id: udp.h,v 1.3 2009/12/18 09:21:40 stpohle Exp $ * UDP Network */ #ifndef _UDP_H @@ -25,6 +25,9 @@ #ifdef _WIN32 #define _sockaddr sockaddr + #ifndef MSG_DONTWAIT + #define MSG_DONTWAIT 0 + #endif #else #define _sockaddr sockaddr_in6 #endif