428
+ − 1 /* Header file for Harris CXUX.
+ − 2 Copyright (C) 1994 Free Software Foundation, Inc.
+ − 3
613
+ − 4 This file is part of XEmacs.
428
+ − 5
613
+ − 6 XEmacs is free software; you can redistribute it and/or modify
428
+ − 7 it under the terms of the GNU General Public License as published by
+ − 8 the Free Software Foundation; either version 2, or (at your option)
+ − 9 any later version.
+ − 10
613
+ − 11 XEmacs is distributed in the hope that it will be useful,
428
+ − 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
+ − 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ − 14 GNU General Public License for more details.
+ − 15
+ − 16 You should have received a copy of the GNU General Public License
+ − 17 along with XEmacs; see the file COPYING. If not, write to
+ − 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ − 19 Boston, MA 02111-1307, USA. */
+ − 20
+ − 21 /* Synched up with: FSF 19.31. */
+ − 22
+ − 23 /*
+ − 24 * Define symbols to identify the version of Unix this is.
+ − 25 * Define all the symbols that apply correctly.
+ − 26 */
+ − 27
+ − 28 #define USG5
+ − 29 #define USG
+ − 30
+ − 31 #ifndef _CX_UX
+ − 32 #define _CX_UX 1
+ − 33 #endif
+ − 34
+ − 35 /* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced
+ − 36 * support for ELF files, and while we still build emacs in COFF format, the
+ − 37 * way it is linked is different for 7.0).
+ − 38 */
+ − 39 /* #define USING_CX_UX_7 */
+ − 40
+ − 41 #ifdef USING_CX_UX_7
+ − 42 #define LINKER "/usr/sde/coff/usr/bin/ld"
+ − 43 #define LD_SWITCH_SYSTEM "-L/usr/sde/coff/usr/lib -zzero_word"
+ − 44 #define START_FILES "pre-crt0.o /usr/sde/coff/usr/lib/crt0.o /usr/sde/coff/usr/lib/m88100.o"
+ − 45 #else /* !USING_CX_UX_7 */
+ − 46 #ifdef _M88K
+ − 47 #define START_FILES "pre-crt0.o /lib/crt0.o"
+ − 48 #else
+ − 49 #define START_FILES "cxux-crt0.o /lib/crt0.o"
+ − 50 #endif
+ − 51 #endif /* USING_CX_UX_7 */
+ − 52
+ − 53 /* SYSTEM_TYPE should indicate the kind of system you are using.
+ − 54 It sets the Lisp variable system-type. */
+ − 55
+ − 56 #define SYSTEM_TYPE "usg-unix-v"
+ − 57
+ − 58 #define C_SWITCH_SYSTEM "-Xa"
+ − 59
+ − 60 /* Letter to use in finding device name of first pty,
+ − 61 if system supports pty's. 'a' means it is /dev/ptya0 */
+ − 62
+ − 63 #define FIRST_PTY_LETTER 'A'
+ − 64 #define PTY_ITERATION for (c = 'A'; c <= 'P'; c++) for (i = 0; i < 16; i++)
+ − 65
+ − 66 /* If your system uses COFF (Common Object File Format) then define the
+ − 67 preprocessor symbol "COFF". */
+ − 68
+ − 69 #define COFF
+ − 70
+ − 71 /* define MAIL_USE_FLOCK if the mailer uses flock
+ − 72 to interlock access to /usr/spool/mail/$USER.
+ − 73 The alternative is that a lock file named
+ − 74 /usr/spool/mail/$USER.lock. */
+ − 75
+ − 76 #define MAIL_USE_FLOCK
+ − 77
+ − 78
+ − 79 /* The symbol in the kernel where the load average is found
+ − 80 is named _avenrun. */
+ − 81
+ − 82 #define LDAV_SYMBOL "_avenrun"
+ − 83
+ − 84 #define KERNEL_FILE "/unix"
+ − 85
+ − 86 /* There are too many kludges required to redefine malloc - use the system
+ − 87 one */
+ − 88 #define SYSTEM_MALLOC
+ − 89
+ − 90 /* const really does work, but I can't get configure to run the C compiler
+ − 91 * with the right options so it figures that out.
+ − 92 */
+ − 93 #undef const
+ − 94
+ − 95 /*
+ − 96 * <pwd.h> already declares getpwuid, and with a uid_t argument in ANSI C
+ − 97 * mode. Define this so xrdb.c will compile
+ − 98 */
+ − 99 #ifdef __STDC__
+ − 100 #define DECLARE_GETPWUID_WITH_UID_T
+ − 101 #endif