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

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

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *  External symbols declared in rpaint.h
8   */
9  
10 + #include  <ctype.h>
11 +
12   #include "copyright.h"
13  
14 + #include  "platform.h"
15   #include  "ray.h"
13
16   #include  "otypes.h"
15
17   #include  "rpaint.h"
18  
18 #include  <ctype.h>
19
19   extern int  psample;                    /* pixel sample size */
20   extern double  maxdiff;                 /* max. sample difference */
21  
# Line 754 | Line 753 | char  *s;
753                  error(COMMAND, errmsg);
754                  return;
755          }
756 < #ifdef MSDOS
758 <        setmode(fileno(fp), O_BINARY);
759 < #endif
756 >        SET_FILE_BINARY(fp);
757          (*dev->comout)("writing \"");
758          (*dev->comout)(fname);
759          (*dev->comout)("\"...\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines