diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 14:18:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 14:18:07 +0000 |
commit | 19cf44b979ca6d0c69aef9a4524d876fafc0fb25 (patch) | |
tree | d01702d6085297480c0bde7133d260349d1efa2a /src/main.c | |
parent | 4f46088c4704534c10487323e0bc0b9d73491b81 (diff) |
braced some Unix-specific code with ifdef.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@467 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -38,7 +38,9 @@ #include <time.h> #include <sys/stat.h> #include <sys/types.h> -#include <signal.h> +#ifdef G_OS_UNIX +# include <signal.h> +#endif #include <dirent.h> #if HAVE_LOCALE_H @@ -341,7 +343,9 @@ int main(int argc, char *argv[]) inc_autocheck_timer_init(mainwin); /* ignore SIGPIPE signal for preventing sudden death of program */ +#ifdef G_OS_UNIX signal(SIGPIPE, SIG_IGN); +#endif if (cmd.receive_all) inc_all_account_mail(mainwin, FALSE); |