From 8299efe45e090b81c988bcdca58c8e25c0001841 Mon Sep 17 00:00:00 2001 From: Venkatesh Srinivas Date: Fri, 19 Aug 2011 09:41:04 -0400 Subject: [PATCH] Define MSG_NOSIGNAL to 0 on platforms where it is unavailable. --- src/util.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/util.h b/src/util.h index 1e4ceb2..9d3824f 100644 --- a/src/util.h +++ b/src/util.h @@ -89,8 +89,11 @@ T* alignup(T* p) return u.ptr; } -#ifdef __WXMSW__ +#ifndef MSG_NOSIGNAL #define MSG_NOSIGNAL 0 +#endif + +#ifdef __WXMSW__ #define MSG_DONTWAIT 0 #ifndef UINT64_MAX #define UINT64_MAX _UI64_MAX -- 1.7.2.3