about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-12-31 03:58:44 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-12-31 03:58:44 +0000
commitb1c940ad5b0e5b8b734be605a65c30f94d38fbc4 (patch)
tree99ba7bd0077020eb3065624969105bd653f3f0a8 /converter/other
parent8dac11e8167e988cac0402916daa2b2e8330a901 (diff)
downloadnetpbm-mirror-b1c940ad5b0e5b8b734be605a65c30f94d38fbc4.tar.gz
netpbm-mirror-b1c940ad5b0e5b8b734be605a65c30f94d38fbc4.tar.xz
netpbm-mirror-b1c940ad5b0e5b8b734be605a65c30f94d38fbc4.zip
Don't check readability of Standard Output on Windows, because we can't
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@526 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pamtotiff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/converter/other/pamtotiff.c b/converter/other/pamtotiff.c
index 1567e5cf..7df1a86f 100644
--- a/converter/other/pamtotiff.c
+++ b/converter/other/pamtotiff.c
@@ -1024,6 +1024,8 @@ validateReadableStdout(void) {
   error message about a file I/O error.  We, on the other hand, produce
   a helpful error message.
 -----------------------------------------------------------------------------*/
+#if defined(WIN32) && !defined(__CYGWIN__)
+
     int flags;
 
     flags = fcntl(STDOUT_FILENO, F_GETFL);
@@ -1038,6 +1040,7 @@ validateReadableStdout(void) {
                      "In order to create a multi-image TIFF stream, "
                      "Standard Output must be both readable and writable.");
     }
+#endif
 }