From 10624ecf13fd3d2537619cb895334257882e06ae Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 8 Nov 2002 21:12:58 +0000 Subject: Linux compatible git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/term.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/term.c b/mbbsd/term.c index ed112346..a0f83354 100644 --- a/mbbsd/term.c +++ b/mbbsd/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.10 2002/09/11 07:16:49 kcwu Exp $ */ +/* $Id: term.c,v 1.11 2002/11/08 21:12:58 in2 Exp $ */ #include "bbs.h" int tgetent(const char *bp, char *name); @@ -52,6 +52,7 @@ outcf(int ch) } #endif +#ifndef Linux static void term_resize(int sig) { @@ -84,11 +85,14 @@ term_resize(int sig) signal(SIGWINCH, term_resize); } +#endif int term_init() { +#ifndef Linux signal(SIGWINCH, term_resize); +#endif return YEA; } -- cgit v1.2.3