From 19cf44b979ca6d0c69aef9a4524d876fafc0fb25 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 4 Aug 2005 14:18:07 +0000 Subject: braced some Unix-specific code with ifdef. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@467 ee746299-78ed-0310-b773-934348b2243d --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index eaf79a1d..53c6609d 100644 --- a/src/main.c +++ b/src/main.c @@ -38,7 +38,9 @@ #include #include #include -#include +#ifdef G_OS_UNIX +# include +#endif #include #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); -- cgit v1.2.3