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

Comparing ray/src/ot/obj2mesh.c (file contents):
Revision 2.4 by greg, Fri Apr 18 21:47:45 2003 UTC vs.
Revision 2.6 by schorsch, Sun Jun 8 12:03:10 2003 UTC

# Line 6 | Line 6 | static const char RCSid[] = "$Id$";
6   */
7  
8   #include "copyright.h"
9 + #include "platform.h"
10   #include "standard.h"
11   #include "cvmesh.h"
12   #include "otypes.h"
# Line 73 | Line 74 | char  *argv[];
74          if (i == argc-2)                /* open output file */
75                  if (freopen(argv[i+1], "w", stdout) == NULL)
76                          error(SYSTEM, "cannot open output file");
77 < #ifdef MSDOS
77 <        setmode(fileno(stdout), O_BINARY);
78 < #endif
77 >        SET_FILE_BINARY(stdout);
78          newheader("RADIANCE", stdout);  /* new binary file header */
79          printargs(i<argc ? i+1 : argc, argv, stdout);
80          fputformat(MESHFMT, stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines