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

Comparing ray/src/px/psign.c (file contents):
Revision 2.18 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.21 by greg, Sat Jun 21 15:05:01 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  "font.h"
14  
15   #ifndef  SSS
# Line 35 | Line 34 | unsigned char  *ourbitmap;             /* our output bitmap */
34   int  xsiz, ysiz;                        /* bitmap dimensions */
35   int  xdim;                              /* size of horizontal scan (bytes) */
36  
37 +                                /* conflicting def's in param.h */
38 + #undef  tstbit
39 + #undef  setbit
40 + #undef  clrbit
41 + #undef  tglbit
42 +
43   #define  bitop(x,y,op)          (ourbitmap[(y)*xdim+((x)>>3)] op (1<<((x)&7)))
44   #define  tstbit(x,y)            bitop(x,y,&)
45   #define  setbit(x,y)            bitop(x,y,|=)
# Line 59 | Line 64 | int  argc;
64   char  *argv[];
65   {
66          int  an;
67 < #ifdef MSDOS
63 <        setmode(fileno(stdout), O_BINARY);
64 < #endif
67 >        SET_FILE_BINARY(stdout);
68          for (an = 1; an < argc && argv[an][0] == '-'; an++)
69                  switch (argv[an][1]) {
70                  case 'c':                       /* color */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines