summaryrefslogtreecommitdiffstats
path: root/mbbsd/term.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-09 05:12:58 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-09 05:12:58 +0800
commit10624ecf13fd3d2537619cb895334257882e06ae (patch)
tree89ecd74c1f6af002f1e6c71aa764bb2359934c7f /mbbsd/term.c
parent9a9be56f087bcab02f706ff36785c4ba0fbc2f19 (diff)
downloadpttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar.gz
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar.bz2
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar.lz
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar.xz
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.tar.zst
pttbbs-10624ecf13fd3d2537619cb895334257882e06ae.zip
Linux compatible
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/term.c')
-rw-r--r--mbbsd/term.c6
1 files changed, 5 insertions, 1 deletions
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;
}