annotate src/s/sco5.h @ 25251:1fb18e7e3f35

(read_escape): For Control modifier, pay attention to multibyte character. (read1): Likewise. Singal error or a multibyte character which has a modifer bit. Check validity of Shift modifer.
author Kenichi Handa <handa@m17n.org>
date Fri, 13 Aug 1999 12:54:36 +0000
parents ae314c884db0
children 566fd2a966aa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* System description file for SCO 3.2v5.
15464
230bc36941bf entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 15463
diff changeset
2 Copyright (C) 1996 Free Software Foundation, Inc.
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 any later version.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
15742
80562f089595 Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 15464
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to the
80562f089595 Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 15464
diff changeset
18 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
80562f089595 Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 15464
diff changeset
19 Boston, MA 02111-1307, USA. */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
15464
230bc36941bf entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 15463
diff changeset
21 /* Contributed by Mark Diekhans <markd@grizzly.com>. */
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /* SCO is sort of like SVR3. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 #include "usg5-3.h"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 #define SCO_R5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 I am assuming that (at least most of) the tests for usg-unix-v
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 do the right thing for sco3.2v4 also. Things that *might* be wrong
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 as a result of turning off these lines include the values of
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ange-ftp-remote-shell-file-name (now remsh)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 dired-chown-program (now just chown)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 lpr-command (now lp)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 nntp-buggy-select (now t)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 rmail-spool-directory (now /usr/mail?)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 and the actions of the function print-region-1. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 /* SYSTEM_TYPE should indicate the kind of system you are using. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #undef SYSTEM_TYPE
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 #define SYSTEM_TYPE "SCO 3.2v4"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 /* SCO supports job control. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 #undef NOMULTIPLEJOBS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 /* SCO has termios. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 #define HAVE_TERMIOS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 /* SCO has ptys with unusual names. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 #define HAVE_PTYS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 #define PTY_ITERATION \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 for (i = 0; ; i++)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 #define PTY_NAME_SPRINTF \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 sprintf (pty_name, "/dev/ptyp%d", i);
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 #define PTY_TTY_NAME_SPRINTF \
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 sprintf (pty_name, "/dev/ttyp%d", i);
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 /* Sockets are an option on SCO. If you have X, you have them.
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 They also exist if you have TCP, but we don't know how to test
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 for that. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 #ifdef HAVE_X_WINDOWS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 #define HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 #ifndef __GNUC__
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 #define LINKER ld
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 /* This is safe since we already assumed HAVE_SOCKET
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 if using X windows. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 #undef LIBX11_SYSTEM
16161
ec5135221ea4 (LIBX11_SYSTEM): Don't use ..._s libraries.
Richard M. Stallman <rms@gnu.org>
parents: 15857
diff changeset
73 #define LIBX11_SYSTEM -lpt -lnls -lnsl -lc -lsocket
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 #undef LIB_X11_LIB
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 #define LIB_X11_LIB -lX11
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 #define HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 #ifdef HAVE_SOCKETS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 #define LIBS_SYSTEM -lsocket -lPW
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 #ifndef HAVE_GETTIMEOFDAY
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 #define HAVE_GETTIMEOFDAY
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 /* This enables configure to tell that we have alloca. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 #ifndef LIBS_SYSTEM
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 #define LIBS_SYSTEM -lPW
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 #ifdef HAVE_X11R5
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 /* configure can't get this right linking fails unless -lsocket is used. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 #undef HAVE_XSCREENNUMBEROFSCREEN
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 #define HAVE_XSCREENNUMBEROFSCREEN
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 /* We don't have -loldX, and we don't need it. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 #define LIB_XMENU_LIB
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103
19853
89a91516559b (BROKEN_MKTIME): Define.
Richard M. Stallman <rms@gnu.org>
parents: 16233
diff changeset
104 /* Jean-Pierre Radley <jpr@jpr.com> reports in
89a91516559b (BROKEN_MKTIME): Define.
Richard M. Stallman <rms@gnu.org>
parents: 16233
diff changeset
105 <news:19970906220024.40892@jpr.com> (1997-09-07)
89a91516559b (BROKEN_MKTIME): Define.
Richard M. Stallman <rms@gnu.org>
parents: 16233
diff changeset
106 that mktime is broken in sco5 releases at least through 5.0.4. */
89a91516559b (BROKEN_MKTIME): Define.
Richard M. Stallman <rms@gnu.org>
parents: 16233
diff changeset
107 #define BROKEN_MKTIME 1
89a91516559b (BROKEN_MKTIME): Define.
Richard M. Stallman <rms@gnu.org>
parents: 16233
diff changeset
108
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 /* SCO does have TIOCGWINSZ. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 #undef BROKEN_TIOCGWINSZ
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 #define NEED_PTEM_H
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 /* We need to link with crt1.o and crtn.o. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 #define START_FILES pre-crt0.o /lib/crt1.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 #define LIB_STANDARD -lc /lib/crtn.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 /* Send signals to subprocesses by "typing" signal chars at them. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 #define SIGNALS_VIA_CHARACTERS
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 /* Specify program for etc/fakemail to run. Define SMAIL if you are
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 using smail, don't for MMDF. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 #ifdef SMAIL
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 #else
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 /* miano@acosta.enet.dec.com says these are needed. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 #define bcopy(b1,b2,len) memmove (b2, b1, len)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 #define bzero(b,len) memset (b, 0, len)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 #define bcmp(b1,b2,len) memcmp (b1, b2, len)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 #define PREFER_VSUSP
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136
15857
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
137 /* SCO Unix has Posix signals, but in 3.2.5 something broken that causes
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
138 * all keyboard-quit signals to be lost after the first one. */
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
139 #undef POSIX_SIGNALS
f3f1f879d812 (POSIX_SIGNALS): Don't define it, #undef instead.
Richard M. Stallman <rms@gnu.org>
parents: 15742
diff changeset
140 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 #ifndef PENDING_OUTPUT_COUNT
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 #ifndef HAVE_VFORK
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 #define HAVE_VFORK
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 #endif
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 /* Use ELF and get real shared libraries */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 #undef COFF
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 #define ELF
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 #define UNEXEC unexelf.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156
16233
96a698bb6c17 (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC.
Richard M. Stallman <rms@gnu.org>
parents: 16161
diff changeset
157 #ifndef __GNUC__
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 #define C_SWITCH_SYSTEM -belf
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 #define LD_SWITCH_SYSTEM -belf
16233
96a698bb6c17 (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC.
Richard M. Stallman <rms@gnu.org>
parents: 16161
diff changeset
160 #endif
15463
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 /* SCO has a working alloca in libPW */
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 #define HAVE_ALLOCA
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 /* Don't disable static function, as SCO's header files have some.*/
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 #undef static
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 #undef START_FILES
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 #undef LIB_STANDARD
be47a30c47b7 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
25032
ae314c884db0 (NARROWPROTO): New.
Gerd Moellmann <gerd@gnu.org>
parents: 19853
diff changeset
172
ae314c884db0 (NARROWPROTO): New.
Gerd Moellmann <gerd@gnu.org>
parents: 19853
diff changeset
173 #define NARROWPROTO 1