ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_ppm.c
(Generate patch)

Comparing ray/src/px/ra_ppm.c (file contents):
Revision 2.14 by greg, Mon May 26 17:58:33 2008 UTC vs.
Revision 2.15 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 103 | Line 103 | main(
103                  if (read(fileno(stdin), inpbuf, 2) != 2 || inpbuf[0] != 'P')
104                          quiterr("input not a Poskanzer Pixmap");
105                  ptype = inpbuf[1];
106 < #ifdef _WIN32
106 > #if defined(_WIN32) || defined(_WIN64)
107                  if (ptype > 4)
108                          SET_FILE_BINARY(stdin);
109                  SET_FILE_BINARY(stdout);
# Line 153 | Line 153 | main(
153                                  quiterr("unsupported Pixmap type");
154                          }
155          } else {
156 < #ifdef _WIN32
156 > #if defined(_WIN32) || defined(_WIN64)
157                  SET_FILE_BINARY(stdin);
158                  if (binflag)
159                          SET_FILE_BINARY(stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines