]> Pileus Git - ~andy/gtk/commitdiff
Don't ignore SIGPIPE unless it exists
authorTor Lillqvist <tml@iki.fi>
Tue, 6 Oct 2009 11:53:22 +0000 (14:53 +0300)
committerTor Lillqvist <tml@iki.fi>
Tue, 6 Oct 2009 11:53:22 +0000 (14:53 +0300)
gtk/gtkmain.c

index 2bbc96d22b6ae785dc9a23b46ce343c31f773606..645da6f8f24b0e949f80637987b79818e7316429 100644 (file)
@@ -686,7 +686,9 @@ do_post_parse_initialization (int    *argc,
 
   gettext_initialization ();
 
+#ifdef SIGPIPE
   signal (SIGPIPE, SIG_IGN);
+#endif
 
   if (g_fatal_warnings)
     {