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

Comparing ray/src/px/ra_ps.c (file contents):
Revision 2.24 by greg, Sat Feb 22 02:07:28 2003 UTC vs.
Revision 2.25 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   #include  <stdio.h>
9   #include  <math.h>
10   #include  <ctype.h>
11 < #ifdef MSDOS
12 < #include  <fcntl.h>
13 < #endif
11 >
12 > #include  "platform.h"
13   #include  "color.h"
14  
15   #define UPPER(c)        ((c)&~0x20)             /* ASCII trick */
# Line 156 | Line 155 | char  *argv[];
155                                  progname, argv[i+1]);
156                  exit(1);
157          }
158 < #ifdef MSDOS
160 <        setmode(fileno(stdin), O_BINARY);
161 < #endif
158 >        SET_FILE_BINARY(stdin);
159                                  /* get our header */
160          getheader(stdin, headline, NULL);
161          if (wrongformat || fgetresolu(&xmax, &ymax, stdin) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines