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.8 by greg, Wed Oct 23 15:19:23 1991 UTC vs.
Revision 1.9 by greg, Thu Oct 24 08:37:58 1991 UTC

# Line 49 | Line 49 | extern char  errmsg[];                 /* global buffer for error me
49   extern int  errno;                      /* system error number */
50  
51                                          /* memory operations */
52 < #ifdef  STRUCTASSIGN
53 < #define  copystruct(d,s)        (*(d) = *(s))
54 < #else
52 > #ifdef  NOSTRUCTASS
53   #define  copystruct(d,s)        bcopy((char *)(s),(char *)(d),sizeof(*(d)))
54 + #else
55 + #define  copystruct(d,s)        (*(d) = *(s))
56   #endif
57  
58   #ifndef  BSD

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines