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 */ |
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 |
71 |
|
extern char *malloc(), *calloc(), *realloc(); |
72 |
|
#endif |
73 |
|
extern char *bmalloc(), *savestr(), *savqstr(); |
74 |
+ |
|
75 |
+ |
#ifdef DCL_ATOF |
76 |
+ |
extern double atof(); |
77 |
+ |
#endif |
78 |
|
|
79 |
|
#ifdef MSDOS |
80 |
|
#define NIX 1 |