| # | 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 | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |