blob: 712b98c190cd7c16e344917a951fd9e69b56e202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-sope-core_NGStreams_NGActiveSocket.m,v 1.1 2021/06/14 16:51:39 gdt Exp $
ignore MSG_NOSIGNAL on sunos
--- sope-core/NGStreams/NGActiveSocket.m.orig 2016-08-17 12:26:04.000000000 +0000
+++ sope-core/NGStreams/NGActiveSocket.m
@@ -54,6 +54,10 @@
# include <sys/ioctl.h>
#endif
+#if defined(__sun)
+# define MSG_NOSIGNAL 0
+#endif
+
#if HAVE_WINDOWS_H && !defined(__CYGWIN32__)
# include <windows.h>
#endif
|