--- ray/src/common/mat4.c 1989/12/22 09:24:07 1.3 +++ ray/src/common/mat4.c 1990/01/18 23:58:56 1.4 @@ -13,7 +13,12 @@ static char SCCSid[] = "$SunId$ LBL"; static double m4tmp[4][4]; /* for efficiency */ +#ifdef BSD #define copymat4(m4a,m4b) bcopy((char *)m4b,(char *)m4a,sizeof(m4tmp)) +#else +#define copymat4(m4a,m4b) (void)memcpy((char *)m4a,(char *)m4b,sizeof(m4tmp)) +extern char *memcpy(); +#endif setident4(m4)