Commit | Line | Data |
8d063cd8 |
1 | /* config.h |
2 | * This file was produced by running the config.h.SH script, which |
3 | * gets its values from config.sh, which is generally produced by |
4 | * running Configure. |
5 | * |
6 | * Feel free to modify any of this as the need arises. Note, however, |
7 | * that running config.h.SH again will wipe out any changes you've made. |
8 | * For a more permanent change edit config.sh and rerun config.h.SH. |
9 | */ |
10 | |
11 | |
12 | /* EUNICE: |
13 | * This symbol, if defined, indicates that the program is being compiled |
14 | * under the EUNICE package under VMS. The program will need to handle |
15 | * things like files that don't go away the first time you unlink them, |
16 | * due to version numbering. It will also need to compensate for lack |
17 | * of a respectable link() command. |
18 | */ |
19 | /* VMS: |
20 | * This symbol, if defined, indicates that the program is running under |
21 | * VMS. It is currently only set in conjunction with the EUNICE symbol. |
22 | */ |
23 | #/*undef EUNICE /**/ |
24 | #/*undef VMS /**/ |
25 | |
26 | /* CHARSPRINTF: |
27 | * This symbol is defined if this system declares "char *sprintf()" in |
28 | * stdio.h. The trend seems to be to declare it as "int sprintf()". It |
29 | * is up to the package author to declare sprintf correctly based on the |
30 | * symbol. |
31 | */ |
32 | #define CHARSPRINTF /**/ |
33 | |
34 | /* index: |
35 | * This preprocessor symbol is defined, along with rindex, if the system |
36 | * uses the strchr and strrchr routines instead. |
37 | */ |
38 | /* rindex: |
39 | * This preprocessor symbol is defined, along with index, if the system |
40 | * uses the strchr and strrchr routines instead. |
41 | */ |
42 | #/*undef index strchr /* cultural */ |
43 | #/*undef rindex strrchr /* differences? */ |
44 | |
45 | /* STRUCTCOPY: |
46 | * This symbol, if defined, indicates that this C compiler knows how |
47 | * to copy structures. If undefined, you'll need to use a block copy |
48 | * routine of some sort instead. |
49 | */ |
50 | #define STRUCTCOPY /**/ |
51 | |
52 | /* vfork: |
53 | * This symbol, if defined, remaps the vfork routine to fork if the |
54 | * vfork() routine isn't supported here. |
55 | */ |
56 | #/*undef vfork fork /**/ |
57 | |
58 | /* VOIDFLAGS: |
59 | * This symbol indicates how much support of the void type is given by this |
60 | * compiler. What various bits mean: |
61 | * |
62 | * 1 = supports declaration of void |
63 | * 2 = supports arrays of pointers to functions returning void |
64 | * 4 = supports comparisons between pointers to void functions and |
65 | * addresses of void functions |
66 | * |
67 | * The package designer should define VOIDUSED to indicate the requirements |
68 | * of the package. This can be done either by #defining VOIDUSED before |
69 | * including config.h, or by defining defvoidused in Myinit.U. If the |
70 | * level of void support necessary is not present, defines void to int. |
71 | */ |
72 | #ifndef VOIDUSED |
73 | #define VOIDUSED 7 |
74 | #endif |
75 | #define VOIDFLAGS 7 |
76 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
77 | #define void int /* is void to be avoided? */ |
78 | #define M_VOID /* Xenix strikes again */ |
79 | #endif |
80 | |