From f8e6f879849e46fefab3417bc29fbb29c29b33c3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 3 Mar 2018 10:51:29 +0530 Subject: [PATCH] Dont use MSG_NOSIGNAL on Apple --- kitty/child-monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 2032224d7..43fa11dde 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -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*);