maint: port to platforms lacking SIGPIPE
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Jun 2013 00:53:53 +0000 (17:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Jun 2013 00:54:20 +0000 (17:54 -0700)
* tailor.h (SIGPIPE): Define to 0 if not defined.  This fixes a
porting bug introduced as part of 2012-11-16 syntax-check cleanup.
Problem reported by Bdale Garbee in
<http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00006.html>.

tailor.h

index 0bf88ffe127618deec3c02476585e861b5fcd70d..e563b662d04c95decfc424d38842682a0875913e 100644 (file)
--- a/tailor.h
+++ b/tailor.h
 #  define OS_CODE  0x0a
 #endif
 
+#ifndef SIGPIPE
+# define SIGPIPE 0
+#endif
+
 
         /* Common defaults */