diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-22 05:35:14 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-22 05:35:14 +0800 |
commit | 51a562cbe6edbf815704dba32d25924fd99d683f (patch) | |
tree | 6b10d0ae3af697f118aee4ebffa36bd9c0b96dc8 /mbbsd | |
parent | fa9db1dffb95030960c388d35e34bcce71c87701 (diff) | |
download | pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar.gz pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar.bz2 pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar.lz pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar.xz pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.tar.zst pttbbs-51a562cbe6edbf815704dba32d25924fd99d683f.zip |
add signal WINDOW_RESIZE for linux
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/term.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mbbsd/term.c b/mbbsd/term.c index 54acc2a6..555840d1 100644 --- a/mbbsd/term.c +++ b/mbbsd/term.c @@ -52,7 +52,6 @@ outcf(int ch) } #endif -#ifndef __linux__ static void term_resize(int sig) { @@ -85,14 +84,11 @@ term_resize(int sig) signal(SIGWINCH, term_resize); } -#endif int term_init() { -#ifndef __linux__ signal(SIGWINCH, term_resize); -#endif return YEA; } |