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

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

# Line 17 | Line 17 | static const char      RCSid[] = "$Id$";
17  
18   #include  <stdio.h>
19   #include  <math.h>
20 #ifdef MSDOS
21 #include  <fcntl.h>
22 #endif
20   #include  <time.h>
21 +
22 + #include  "platform.h"
23   #include  "color.h"
24   #include  "resolu.h"
25  
# Line 74 | Line 73 | char  *argv[];
73                                  progname, argv[i+1]);
74                  exit(1);
75          }
76 < #ifdef MSDOS
77 <        setmode(fileno(stdin), O_BINARY);
79 <        setmode(fileno(stdout), O_BINARY);
80 < #endif
76 >        SET_FILE_BINARY(stdin);
77 >        SET_FILE_BINARY(stdout);
78          setcolrgam(gamcor);             /* set up gamma correction */
79          if (reverse) {
80                                          /* get their image resolution */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines