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

Comparing ray/src/rt/rvmain.c (file contents):
Revision 2.2 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.3 by schorsch, Thu Jun 5 19:29:34 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 < #include  "ray.h"
10 > #include  <signal.h>
11  
12 + #include  "platform.h"
13 + #include  "ray.h"
14   #include  "source.h"
13
15   #include  "ambient.h"
15
16   #include  "random.h"
17
17   #include  "paths.h"
19
20 #include  <signal.h>
21
18   #include  "view.h"
19  
20   char  *progname;                        /* argv[0] */
# Line 207 | Line 203 | char  *argv[];
203          if (octname == NULL)
204                  error(USER, "missing octree argument");
205                                          /* set up output */
206 < #ifdef  MSDOS
211 <        setmode(fileno(stdout), O_BINARY);
212 < #endif
206 >        SET_FILE_BINARY(stdout);
207          readoct(octname, ~(IO_FILES|IO_INFO), &thescene, NULL);
208          nsceneobjs = nobjects;
209  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines