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

Comparing ray/src/px/ra_avs.c (file contents):
Revision 2.9 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.10 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include  <stdio.h>
9   #include  <math.h>
10 #ifdef MSDOS
11 #include  <fcntl.h>
12 #endif
10   #include  <time.h>
11 +
12 + #include  "platform.h"
13   #include  "color.h"
14   #include  "resolu.h"
15  
# Line 65 | Line 64 | char  *argv[];
64                                  progname, argv[i+1]);
65                  exit(1);
66          }
67 < #ifdef MSDOS
68 <        setmode(fileno(stdin), O_BINARY);
70 <        setmode(fileno(stdout), O_BINARY);
71 < #endif
67 >        SET_FILE_BINARY(stdin);
68 >        SET_FILE_BINARY(stdout);
69          setcolrgam(gamcor);             /* set up gamma correction */
70          if (reverse) {
71                                          /* get their image resolution */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines