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

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.22 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.24 by schorsch, Sun Jun 8 12:03:10 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   */
9  
10   #include "standard.h"
11 <
11 > #include "platform.h"
12   #include "color.h"
13
13   #include "calcomp.h"
15
14   #include "view.h"
15  
16   #define MAXINP          32              /* maximum number of input files */
# Line 83 | Line 81 | char   *argv[];
81          int     original;
82          double  f;
83          int     a, i;
84 < #ifdef MSDOS
85 <        extern int  _fmode;
86 <        _fmode = O_BINARY;
89 <        setmode(fileno(stdin), O_BINARY);
90 <        setmode(fileno(stdout), O_BINARY);
91 < #endif
84 >        SET_DEFAULT_BINARY();
85 >        SET_FILE_BINARY(stdin);
86 >        SET_FILE_BINARY(stdout);
87          progname = argv[0];
88                                                  /* scan options */
89          for (a = 1; a < argc; a++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines