[PATCH rirc] Fix undefined Signal "SIGWINCH" on macOS
Export this patch
Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
---
src/io.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/io.c b/src/io.c
index 570920a..d5b289d 100644
--- a/src/io.c
+++ b/src/io.c
@@ -30,6 +30,10 @@
#include <termios.h>
#include <unistd.h>
+#if __APPLE__
+#define SIGWINCH 28
+#endif
+
/* RFC 2812, section 2.3 */
#define IO_MESG_LEN 510
--
2.41.0
rirc/patches/dev.yml: SUCCESS in 1m12s
[Fix undefined Signal "SIGWINCH" on macOS][0] from [Charalampos Mitrodimas][1]
[0]: https://lists.sr.ht/~rcr/public-inbox/patches/42550
[1]: mailto:charmitro@posteo.net
✓ #1022314 SUCCESS rirc/patches/dev.yml https://builds.sr.ht/~rcr/job/1022314