It won't build on OSX.

cc acl.c
acl.c:2904:23: error: use of undeclared identifier 'MSG_NOSIGNAL'
r = send(s, arg, len, MSG_NOSIGNAL);
                      ^
1 error generated.
make[1]: *** [acl.o] Error 1
make: *** [all] Error 2
dnsbureau:exim-4.82_RC1 root#


What is the side effect of not using MSG_NOSIGNAL? I could just > #define it to 0, but I don't know if this would cause any problems.

I think OS X OS X requires SO_NOSIGPIPE instead. This one builds too, but I don't know if I'm messing things up.

#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL SO_NOSIGPIPE
#endif

Thanks,

George

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to