Dont use MSG_NOSIGNAL on Apple
This commit is contained in:
parent
c7338bca6f
commit
f8e6f87984
1 changed files with 4 additions and 0 deletions
|
|
@ -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*);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue