| # | Line 26 | Line 26 | typedef struct { | |
|---|---|---|
| 26 | XF b; /* backward */ | |
| 27 | } FULLXF; | |
| 28 | ||
| 29 | + | #ifndef PI |
| 30 | #ifdef M_PI | |
| 31 | #define PI M_PI | |
| 32 | #else | |
| 33 | #define PI 3.14159265358979323846 | |
| 34 | #endif | |
| 35 | + | #endif |
| 36 | ||
| 37 | #ifndef F_OK /* mode bits for access(2) call */ | |
| 38 | #define R_OK 4 /* readable */ | |
| # | Line 59 | Line 61 | extern char errmsg[]; /* global buffer for error me | |
| 61 | #define bcopy(s,d,n) (void)memcpy(d,s,n) | |
| 62 | #define bzero(d,n) (void)memset(d,0,n) | |
| 63 | #define bcmp(b1,b2,n) memcmp(b1,b2,n) | |
| 62 | – | extern char *memcpy(), *memset(); |
| 64 | #define index strchr | |
| 65 | #define rindex strrchr | |
| 66 | #endif | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |