]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - warp/config.h
2 * This symbol, if defined, indicates that the rdchk routine is available
3 * to find out if there is input pending on an IO channel. Generally
4 * the routine is used only if FIONREAD and O_NDELAY aren't available.
9 * This symbol, if defined, indicates that any scoreboard kept by the
10 * program should be kept on the basis of the user's full name as opposed
11 * to the user's login name. If the user can change his full name he
12 * can enter multiple scores if this is defined.
17 * This symbol, if defined, indicates that characters are a signed type.
18 * If not defined, things declared as signed characters (and that make
19 * use of negative values) should probably be declared as shorts instead.
21 #define SIGNEDCHAR /**/
24 * This symbol, if defined, indicates that the program should include
25 * termio.h rather than sgtty.h. There are also differences in the
26 * ioctl() calls that depend on the value of this symbol.
31 * This symbol, if defined, indicates that the program should compile
32 * the ndir.c code provided with the package.
35 * This symbol, if defined, indicates that the program should include the
36 * system's version of ndir.h, rather than the one with this package.
43 * This symbol, if defined, indicates that the program may include
49 * This symbol contains name of the host the program is going to run on.
50 * The domain is not kept with hostname, but must be gotten from MYDOMAIN.
51 * The dot comes with MYDOMAIN, and need not be supplied by the program.
52 * If gethostname() or uname() exist, HOSTNAME may be ignored.
55 * This symbol contains the domain of the host the program is going to
56 * run on. The domain must be appended to HOSTNAME to form a complete
57 * host name. The dot comes with MYDOMAIN, and need not be supplied by
58 * the program. If the host name is derived from PHOSTNAME, the domain
59 * may or may not already be there, and the program should check.
61 #define HOSTNAME "kazoo" /**/
62 #define MYDOMAIN ".uucp" /**/
65 * This symbol, if defined, indicates that full names are stored in
66 * the /etc/passwd file.
69 * This symbol, if defined, indicates that full names are stored in
70 * the /etc/passwd file in Berkeley format (name first thing, everything
71 * up to first comma, with & replaced by capitalized login id, yuck).
74 * This symbol, if defined, indicates that full names are stored in
75 * the /etc/passwd file in USG format (everything after - and before ( is
78 #define PASSNAMES /* (undef to take name from ~/.fullname) */
79 #define BERKNAMES /* (that is, ":name,stuff:") */
80 #undef USGNAMES /* (that is, ":stuff-name(stuff):") */
83 * This symbol contains the full name of the preferred user shell on this
84 * system. Usual values are /bin/csh, /bin/ksh, /bin/sh.
86 #define PREFSHELL "/bin/csh" /**/
89 * This symbol contains the uid of root, normally 0.
94 * This symbol indicates how much support of the void type is given by this
95 * compiler. What various bits mean:
97 * 1 = supports declaration of void
98 * 2 = supports arrays of pointers to functions returning void
99 * 4 = supports comparisons between pointers to void functions and
100 * addresses of void functions
102 * The package designer should define VOIDUSED to indicate the requirements
103 * of the package. This can be done either by #defining VOIDUSED before
104 * including config.h, or by defining defvoidused in Myinit.U.
110 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
111 #define void int /* is void to be avoided? */
112 #define M_VOID /* Xenix strikes again */
115 /* warp private library, may use ~ expansion, %x and %l */
116 #define PRIVLIB "/usr/share/games/warp" /**/