ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/standard.h
(Generate patch)

Comparing ray/src/common/standard.h (file contents):
Revision 2.19 by greg, Mon Mar 10 17:13:29 2003 UTC vs.
Revision 2.20 by greg, Thu Mar 27 04:16:33 2003 UTC

# Line 87 | Line 87 | extern double  tcos();                 /* table-based cosine approxim
87   #define  ttan(x)                (tsin(x)/tcos(x))
88   #endif
89                                          /* custom version of assert(3) */
90 < #define  CHECK(be,et,em)        ((be) ? error(et,em) : 0)
90 > #define  CHECK(be,et,em)        if (be) error(et,em) else
91   #ifdef  DEBUG
92   #define  DCHECK                 CHECK
93   #else
94 < #define  DCHECK(be,et,em)       0
94 > #define  DCHECK(be,et,em)       (void)0
95   #endif
96                                          /* memory operations */
97   #ifdef  NOSTRUCTASS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines