aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-09-06 16:19:54 -0400
committerJeff Garzik <jgarzik@redhat.com>2011-09-06 16:19:54 -0400
commitcbd959c473bf40757b22c19e6549504d9e5728b1 (patch)
tree6389b1bec0f66ca8dbb49ba4c776cabfd6121863 /src/util.h
parent074653973ef58918d7426d5bd7f741dadd806a78 (diff)
Revert "Define MSG_NOSIGNAL to 0 on platforms where it is unavailable."
This reverts commit 6a0296791d5e81102a12a3142f5be25cb40f9825. The change breaks build on Fedora Linux.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 4a68051a66..3d7ef108b4 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