| 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 |
| 67 |
|
|
| 68 |
< |
extern char *sskip(); |
| 68 |
> |
extern char *sskip(), *sskip2(); |
| 69 |
|
extern char *getpath(), *getenv(); |
| 70 |
|
#ifndef malloc |
| 71 |
|
extern char *malloc(), *calloc(), *realloc(); |