[BACK]Return to patch-source_shared_lib_sources_platform_posix_socket_cpp CVS log [TXT][DIR] Up to [local] / ports / games / megaglest / base / patches

File: [local] / ports / games / megaglest / base / patches / Attic / patch-source_shared_lib_sources_platform_posix_socket_cpp (download)

Revision 1.2, Mon Aug 1 05:17:41 2011 UTC (12 years, 11 months ago) by yason
Branch: MAIN
CVS Tags: megaglest-3_5_2_4, magaglest-3_5_2_4
Changes since 1.1: +2 -2 lines

update patches

$OpenBSD$
--- source/shared_lib/sources/platform/posix/socket.cpp.orig	Thu Jun 30 10:38:37 2011
+++ source/shared_lib/sources/platform/posix/socket.cpp	Thu Jun 30 10:39:20 2011
@@ -13,6 +13,10 @@
 #include <cstdlib>
 #include <stdexcept>
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL	0
+#endif
+
 #if defined(HAVE_SYS_IOCTL_H) || defined(__linux__)
   #define BSD_COMP /* needed for FIONREAD on Solaris2 */
   #include <sys/ioctl.h>