Revert "Define MSG_NOSIGNAL to 0 on platforms where it is unavailable."
authorJeff Garzik <jeff@garzik.org>
Tue, 6 Sep 2011 20:19:54 +0000 (16:19 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 Sep 2011 20:19:54 +0000 (16:19 -0400)
This reverts commit 6a0296791d5e81102a12a3142f5be25cb40f9825.

The change breaks build on Fedora Linux.

src/util.h

index 4a68051..3d7ef10 100644 (file)
@@ -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