From cbd959c473bf40757b22c19e6549504d9e5728b1 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Tue, 6 Sep 2011 16:19:54 -0400 Subject: [PATCH] Revert "Define MSG_NOSIGNAL to 0 on platforms where it is unavailable." This reverts commit 6a0296791d5e81102a12a3142f5be25cb40f9825. The change breaks build on Fedora Linux. --- src/util.h | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/util.h b/src/util.h index 4a68051..3d7ef10 100644 --- a/src/util.h +++ b/src/util.h @@ -81,10 +81,8 @@ T* alignup(T* p) return u.ptr; } -#ifndef MSG_NOSIGNAL -#define MSG_NOSIGNAL 0 -#endif #ifdef __WXMSW__ +#define MSG_NOSIGNAL 0 #define MSG_DONTWAIT 0 #ifndef UINT64_MAX #define UINT64_MAX _UI64_MAX -- 1.7.1