Dont use MSG_NOSIGNAL on Apple

This commit is contained in:
Kovid Goyal 2018-03-03 10:51:29 +05:30
parent c7338bca6f
commit f8e6f87984
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -19,6 +19,10 @@
extern PyTypeObject Screen_Type;
#define EXTRA_FDS 2
#ifndef MSG_NOSIGNAL
// Apple does not implement MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif
static void (*parse_func)(Screen*, PyObject*);