diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-08 16:55:27 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-08 16:55:27 -0700 |
commit | dd79082a94b62e0d8c398dcfad19449e72c542da (patch) | |
tree | 197b538828d982cfdd0d6170bf34084f8c42c913 /pw.c | |
parent | 5475591abf5dee8eb0f559bd6c0620ad3f498250 (diff) | |
download | pw-dd79082a94b62e0d8c398dcfad19449e72c542da.tar.gz pw-dd79082a94b62e0d8c398dcfad19449e72c542da.tar.bz2 pw-dd79082a94b62e0d8c398dcfad19449e72c542da.zip |
If there is no SIGWINCH, don't define handler.
Diffstat (limited to 'pw.c')
-rw-r--r-- | pw.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1132,11 +1132,13 @@ static void ttyget(int fd, struct termios *tty) panic("unable to get TTY parameters"); } +#ifdef SIGWINCH static void sigwinch(int sig) { (void) sig; winch = 1; } +#endif static char **resizebuf(char **buf, size_t nlfrom, size_t nlto) { |