2013-09-26 17:14:40 +02:00

14 lines
465 B
Plaintext

$NetBSD: patch-aa,v 1.3 2007/01/05 16:48:58 obache Exp $
--- native/jni/native-lib/cpnet.c.orig 2006-09-17 07:31:43.000000000 +0000
+++ native/jni/native-lib/cpnet.c
@@ -60,7 +60,7 @@ exception statement from your version. *
#elif defined (HAVE_SO_NOSIGPIPE)
#define SOCKET_NOSIGNAL SO_NOSIGPIPE
#else
-#error "No suitable flag found to ommit a SIGPIPE on signal errors with send()."
+#define SOCKET_NOSIGNAL 0
#endif
static int socketTimeouts[FD_SETSIZE];