diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-17 16:13:40 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-17 16:13:40 +0000 |
commit | f282c7dc7ee4115f84c2e220104f0c7405b93cd4 (patch) | |
tree | fc8077c8f2cb0b2a06fb8802b6fdf70291f73143 /main.c | |
parent | [w3m-dev 02670] (diff) | |
download | w3m-f282c7dc7ee4115f84c2e220104f0c7405b93cd4.tar.gz w3m-f282c7dc7ee4115f84c2e220104f0c7405b93cd4.zip |
[#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz)
Diffstat (limited to '')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.37 2001/12/17 15:54:14 ukai Exp $ */ +/* $Id: main.c,v 1.38 2001/12/17 16:13:40 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -207,6 +207,7 @@ wrap_GC_warn_proc(char *msg, GC_word arg) fprintf(stderr, msg, (unsigned long)arg); } +#ifdef SIGCHLD static void sig_chld(int signo) { @@ -229,6 +230,7 @@ sig_chld(int signo) signal(SIGCHLD, sig_chld); return; } +#endif Str make_optional_header_string(char *s) @@ -4660,6 +4662,7 @@ SigAlarm(SIGNAL_ARG) #endif w3mFuncList[alarm_event.cmd].func(); onA(); +#ifdef USE_ALARM if (alarm_status == AL_IMPLICIT) { alarm_buffer = Currentbuf; alarm_status = AL_IMPLICIT_DONE; @@ -4672,6 +4675,7 @@ SigAlarm(SIGNAL_ARG) signal(SIGALRM, SigAlarm); alarm(alarm_sec); } +#endif } SIGNAL_RETURN; } |