Last change
on this file was
13845,
checked in by westram, 10 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
791 bytes
|
Line | |
---|
1 | /* General purpose header file - rf 12/90 */ |
---|
2 | |
---|
3 | #ifndef _H_general |
---|
4 | #define _H_general |
---|
5 | |
---|
6 | /* Macintosh specific */ |
---|
7 | #ifdef THINK_C |
---|
8 | |
---|
9 | #define const /* THINK C doesn't know about these identifiers */ |
---|
10 | #define signed |
---|
11 | #define volatile |
---|
12 | |
---|
13 | #else /* not Macintoshs */ |
---|
14 | |
---|
15 | typedef int Boolean; /* Is already defined in THINK_C */ |
---|
16 | |
---|
17 | #endif /* ifdef THINK_C */ |
---|
18 | |
---|
19 | /* definitions for all machines */ |
---|
20 | |
---|
21 | #undef TRUE /* Boolean values; first undef them, just in case */ |
---|
22 | #undef FALSE |
---|
23 | #define TRUE 1 |
---|
24 | #define FALSE 0 |
---|
25 | |
---|
26 | #define EOS '\0' /* End-Of-String */ |
---|
27 | #define MAXLINE 512 /* Max. line length */ |
---|
28 | |
---|
29 | #ifdef VAX |
---|
30 | #define signed |
---|
31 | #endif |
---|
32 | |
---|
33 | #ifndef RAND_MAX |
---|
34 | #ifdef UNIX |
---|
35 | #ifdef SYSTEM_FIVE |
---|
36 | #define RAND_MAX 32767 |
---|
37 | #else |
---|
38 | #define RAND_MAX 2147483647 |
---|
39 | #endif |
---|
40 | #endif |
---|
41 | #endif |
---|
42 | #endif /* ifndef _H_general */ |
---|
Note: See
TracBrowser
for help on using the repository browser.