comparison src/s/cxux.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 0132846995bd
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 /* Header file for Harris CXUX.
2 Copyright (C) 1994 Free Software Foundation, Inc.
3
4 This file is part of GNU Emacs.
5
6 GNU Emacs is free software; you can redistribute it and/or modify
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
11 GNU Emacs is distributed in the hope that it will be useful,
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 UNIPLUS */
29 #define USG5
30 #define USG
31 /* #define HPUX */
32 /* #define UMAX */
33 /* #define BSD4_1 */
34 /* #define BSD4_2 */
35 /* #define BSD4_3 */
36 /* #define BSD */
37 /* #define VMS */
38
39 #ifndef _CX_UX
40 #define _CX_UX 1
41 #endif
42
43 /* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced
44 * support for ELF files, and while we still build emacs in COFF format, the
45 * way it is linked is different for 7.0).
46 */
47 /* #define USING_CX_UX_7 */
48
49 #ifdef USING_CX_UX_7
50 #define LINKER /usr/sde/coff/usr/bin/ld
51 #define LD_SWITCH_SYSTEM -L/usr/sde/coff/usr/lib -zzero_word
52 #define START_FILES pre-crt0.o /usr/sde/coff/usr/lib/crt0.o /usr/sde/coff/usr/lib/m88100.o
53 #else /* !USING_CX_UX_7 */
54 #ifdef _M88K
55 #define START_FILES pre-crt0.o /lib/crt0.o
56 #else
57 #define START_FILES cxux-crt0.o /lib/crt0.o
58 #endif
59 #endif /* USING_CX_UX_7 */
60
61 /* SYSTEM_TYPE should indicate the kind of system you are using.
62 It sets the Lisp variable system-type. */
63
64 #define SYSTEM_TYPE "usg-unix-v"
65
66 #define C_SWITCH_SYSTEM -Xa
67
68 /* Letter to use in finding device name of first pty,
69 if system supports pty's. 'a' means it is /dev/ptya0 */
70
71 #define FIRST_PTY_LETTER 'A'
72 #define PTY_ITERATION for (c = 'A'; c <= 'P'; c++) for (i = 0; i < 16; i++)
73
74 #define NO_TERMIO
75
76 /*
77 * Define HAVE_PTYS if the system supports pty devices.
78 */
79
80 #define HAVE_PTYS
81
82 /* If your system uses COFF (Common Object File Format) then define the
83 preprocessor symbol "COFF". */
84
85 #define COFF
86
87 /* define MAIL_USE_FLOCK if the mailer uses flock
88 to interlock access to /usr/spool/mail/$USER.
89 The alternative is that a lock file named
90 /usr/spool/mail/$USER.lock. */
91
92 #define MAIL_USE_FLOCK
93
94 /* If the character used to separate elements of the executable path
95 is not ':', #define this to be the appropriate character constant. */
96 /* #define SEPCHAR ':' */
97
98 /* Here, on a separate page, add any special hacks needed
99 to make Emacs work on this system. For example,
100 you might define certain system call names that don't
101 exist on your system, or that do different things on
102 your system and must be used only through an encapsulation
103 (Which you should place, by convention, in sysdep.c). */
104
105 /* The symbol in the kernel where the load average is found
106 is named _avenrun. */
107
108 #define LDAV_SYMBOL "_avenrun"
109
110 #define KERNEL_FILE "/unix"
111
112 /* There are too many kludges required to redefine malloc - use the system
113 one */
114 #define SYSTEM_MALLOC
115
116 /* const really does work, but I can't get configure to run the C compiler
117 * with the right options so it figures that out.
118 */
119 #undef const
120
121 #define HAVE_GETWD
122
123 /*
124 * <pwd.h> already declares getpwuid, and with a uid_t argument in ANSI C
125 * mode. Define this so xrdb.c will compile
126 */
127 #ifdef __STDC__
128 #define DECLARE_GETPWUID_WITH_UID_T
129 #endif