1 /*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. 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 * 10 * @(#)shell.h 8.2 (Berkeley) 05/04/95 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 * SHORTNAMES -> 1 if your linker cannot handle long names. 18 * define BSD if you are running 4.2 BSD or later. 19 * define SYSV if you are running under System V. 20 * define DEBUG=1 to compile in debugging (set global "debug" to turn on) 21 * define DEBUG=2 to compile in and turn on debugging. 22 * 23 * When debugging is on, debugging info will be written to $HOME/trace and 24 * a quit signal will generate a core dump. 25 */ 26 27 28 #define JOBS 1 29 #define SYMLINKS 1 30 #ifndef BSD 31 #define BSD 1 32 #endif 33 #define DEBUG 1 34 35 #ifdef __STDC__ 36 typedef void *pointer; 37 #ifndef NULL 38 #define NULL (void *)0 39 #endif 40 #else /* not __STDC__ */ 41 typedef char *pointer; 42 #ifndef NULL 43 #define NULL 0 44 #endif 45 #endif /* not __STDC__ */ 46 #define STATIC /* empty */ 47 #define MKINIT /* empty */ 48 49 #include <sys/cdefs.h> 50 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 59