Commit | Line | Data |
---|---|---|
f406eb40 KB |
1 | /*- |
2 | * Copyright (c) 1991 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * Kenneth Almquist. | |
7 | * | |
8 | * %sccs.include.redist.c% | |
9 | * | |
a4652c0b | 10 | * @(#)shell.h 5.5 (Berkeley) %G% |
f406eb40 KB |
11 | */ |
12 | ||
13 | /* | |
14 | * The follow should be set to reflect the type of system you have: | |
15 | * JOBS -> 1 if you have Berkeley job control, 0 otherwise. | |
16 | * SYMLINKS -> 1 if your system includes symbolic links, 0 otherwise. | |
17 | * DIRENT -> 1 if your system has the SVR3 directory(3X) routines. | |
f406eb40 KB |
18 | * SHORTNAMES -> 1 if your linker cannot handle long names. |
19 | * define BSD if you are running 4.2 BSD or later. | |
20 | * define SYSV if you are running under System V. | |
78bb4190 MT |
21 | * define DEBUG=1 to compile in debugging (set global "debug" to turn on) |
22 | * define DEBUG=2 to compile in and turn on debugging. | |
f406eb40 KB |
23 | * |
24 | * When debugging is on, debugging info will be written to $HOME/trace and | |
25 | * a quit signal will generate a core dump. | |
26 | */ | |
27 | ||
28 | ||
29 | #define JOBS 1 | |
30 | #define SYMLINKS 1 | |
31 | #define DIRENT 1 | |
f406eb40 | 32 | #define BSD |
78bb4190 | 33 | #define DEBUG 1 |
b775bf58 KB |
34 | |
35 | #ifdef __STDC__ | |
78bb4190 | 36 | typedef void *pointer; |
f406eb40 KB |
37 | #ifndef NULL |
38 | #define NULL (void *)0 | |
39 | #endif | |
40 | #else /* not __STDC__ */ | |
78bb4190 | 41 | typedef char *pointer; |
f406eb40 KB |
42 | #ifndef NULL |
43 | #define NULL 0 | |
44 | #endif | |
78bb4190 | 45 | #endif /* not __STDC__ */ |
f406eb40 KB |
46 | #define STATIC /* empty */ |
47 | #define MKINIT /* empty */ | |
48 | ||
78bb4190 MT |
49 | #include <sys/cdefs.h> |
50 | ||
f406eb40 KB |
51 | extern char nullstr[1]; /* null string */ |
52 | ||
53 | ||
54 | #ifdef DEBUG | |
55 | #define TRACE(param) trace param | |
56 | #else | |
57 | #define TRACE(param) | |
58 | #endif |