Dont use MSG_NOSIGNAL on Apple
This commit is contained in:
parent
c7338bca6f
commit
f8e6f87984
@ -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…
x
Reference in New Issue
Block a user