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

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*);