Browse Source

Define MSG_NOSIGNAL if it is undefined by the base OS such as Solaris.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2218 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 16 years ago
parent
commit
71f21b95c5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      exec/totemnet.c

+ 4 - 0
exec/totemnet.c

@@ -74,6 +74,10 @@
 #include <prerror.h>
 #endif
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
 #define MCAST_SOCKET_BUFFER_SIZE (TRANSMITS_ALLOWED * FRAME_SIZE_MAX)
 #define NETIF_STATE_REPORT_UP		1
 #define NETIF_STATE_REPORT_DOWN		2