summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/squeeze.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/squeeze.c')
-rw-r--r--Build/source/texk/dvipsk/squeeze.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/squeeze.c b/Build/source/texk/dvipsk/squeeze.c
index 73a71f19baf..5646bc8ab2d 100644
--- a/Build/source/texk/dvipsk/squeeze.c
+++ b/Build/source/texk/dvipsk/squeeze.c
@@ -95,11 +95,12 @@ main (int argc, char *argv[])
}
/* Binary output is safer (for those systems which care to know the
difference) since PostScript can include non-printable characters. */
- if (O_BINARY && !isatty(fileno(in)))
+#if O_BINARY
+ if (!isatty(fileno(in)))
SET_BINARY(fileno(in)) ;
- if (O_BINARY && !isatty(fileno(out)))
+ if (!isatty(fileno(out)))
SET_BINARY(fileno(out)) ;
-
+#endif
(void)fprintf(out, "%%!\n") ;
while (1) {
c = getc(in) ;