see if avoiding SIGPIPE fixes w32 target build
[debian/gzip] / gzip.c
diff --git a/gzip.c b/gzip.c
index 38e1373e474edd30a0a71825b7281d8429948a9c..0d9f499de9e08b7de239cec07a59d269dd4c5579 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -223,7 +223,9 @@ static int handled_sig[] =
 #ifdef SIGHUP
     , SIGHUP
 #endif
+#ifdef SIGPIPE
     , SIGPIPE
+#endif
 #ifdef SIGTERM
     , SIGTERM
 #endif