|
|
1.1 root 1:
2: /*
3: *
4: * A few general purpose definitons used in most of the files in this
5: * package.
6: *
7: */
8:
9:
10: #define NON_FATAL 0 /* error classification */
11: #define FATAL 1
12:
13: #define OFF 0
14: #define ON 1
15:
16: #define FALSE 0
17: #define TRUE 1
18:
19: #define BYTE 8
20: #define BMASK 0377
21:
22: #ifndef V9
23: #define PI 3.141592654
24: #endif
25:
26:
27: #define MAX(A, B) ((A > B) ? A : B)
28: #define MIN(A, B) ((A < B) ? A : B)
29: #define ABS(A) ((A) >= 0 ? (A) : -(A))
30:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.