beanstalk-client icon indicating copy to clipboard operation
beanstalk-client copied to clipboard

Compile error on Mac OSX

Open psaintjust opened this issue 8 years ago • 1 comments

beanstalk-client/beanstalk.c:267:74: error: use of undeclared identifier 'MSG_NOSIGNAL' return send(fd, message, size, bs_poll ? MSG_DONTWAIT|MSG_NOSIGNAL : MSG_NOSIGNAL);

MSG_NOSIGNAL is not defined on Mac OSX - introduced by #31

psaintjust avatar Oct 04 '16 08:10 psaintjust

Put the following line in beanstalk.c after includes: #define MSG_NOSIGNAL 0x2000 /* don't raise SIGPIPE */

lippenyit avatar May 20 '17 22:05 lippenyit