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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.29 by greg, Fri Apr 18 17:29:22 2003 UTC vs.
Revision 2.30 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 21 | Line 21 | static const char      RCSid[] = "$Id$";
21   *  irradiance values are desired.
22   */
23  
24 + #include  "platform.h"
25   #include  "ray.h"
25
26   #include  "otypes.h"
27
27   #include  "resolu.h"
28  
29   CUBE  thescene;                         /* our scene */
# Line 146 | Line 145 | char  *fname;
145                  sprintf(errmsg, "cannot open input file \"%s\"", fname);
146                  error(SYSTEM, errmsg);
147          }
148 < #ifdef MSDOS
148 > #ifdef _WIN32
149          if (inform != 'a')
150 <                setmode(fileno(fp), O_BINARY);
150 >                SET_FILE_BINARY(fp);
151   #endif
152                                          /* set up output */
153          setoutput(outvals);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines