From b1c940ad5b0e5b8b734be605a65c30f94d38fbc4 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 31 Dec 2007 03:58:44 +0000 Subject: 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 --- converter/other/pamtotiff.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'converter/other') 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 } -- cgit 1.4.1