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 1.5 by greg, Sat Dec 15 15:01:35 1990 UTC vs.
Revision 1.7 by greg, Wed Oct 23 13:43:09 1991 UTC

# Line 24 | Line 24 | typedef struct {
24          XF  b;                                  /* backward */
25   }  FULLXF;
26  
27 #define  FHUGE          (1e10)          /* large real number */
28 #define  FTINY          (1e-6)          /* small real number */
29
27   #ifdef  M_PI
28   #define  PI             M_PI
29   #else
# Line 57 | Line 54 | extern int  errno;                     /* system error number */
54   #else
55   #define  copystruct(d,s)        bcopy((char *)(s),(char *)(d),sizeof(*(d)))
56   #endif
57 +
58   #ifndef  BSD
59   #define  bcopy(s,d,n)           (void)memcpy(d,s,n)
60   #define  bzero(d,n)             (void)memset(d,0,n)
61   #define  bcmp(b1,b2,n)          memcmp(b1,b2,n)
62   extern char  *memcpy(), *memset();
63 + #define  index                  strchr
64 + #define  rindex                 strrchr
65   #endif
66  
67   extern char  *sskip();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines