annotate src/s/ms-w32.h @ 14474:799da4d5aeb7

(with-electric-help): Bind inhibit-read-only around the erase-buffer. (electric-help-form-to-execute): Renamed from to-be-executed. Add defvar for it. (electric-help-mode): Turn off view-mode.
author Richard M. Stallman <rms@gnu.org>
date Sat, 03 Feb 1996 03:18:00 +0000
parents ee40177f6c68
children bcc66f4bc5ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* System description file for Windows NT.
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
2 Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
fa698fd10c05 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
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 any later version.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 13422
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 13422
diff changeset
19 Boston, MA 02111-1307, USA. */
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 * Define symbols to identify the version of Unix this is.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 * Define all the symbols that apply correctly.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 /* #define UNIPLUS */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 /* #define USG5 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 /* #define USG */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 /* #define HPUX */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 /* #define UMAX */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 /* #define BSD4_1 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 /* #define BSD4_2 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 /* #define BSD4_3 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 /* #define BSD */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 /* #define VMS */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 #ifndef WINDOWSNT
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 #define WINDOWSNT
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 #endif
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #ifndef DOS_NT
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 #define DOS_NT /* MSDOS or WINDOWSNT */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 #endif
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
43 /* If you are compiling with a non-C calling convention but need to
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
44 declare vararg routines differently, put it here */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
45 #define _VARARGS_ __cdecl
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
46
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
47 /* If you are providing a function to something that will call the
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
48 function back (like a signal handler and signal, or main) its calling
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
49 convention must be whatever standard the libraries expect */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
50 #define _CALLBACK_ __cdecl
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
51
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 /* SYSTEM_TYPE should indicate the kind of system you are using.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 It sets the Lisp variable system-type. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 #define SYSTEM_TYPE "windows-nt"
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 #define SYMS_SYSTEM syms_of_ntterm ()
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 #define NO_MATHERR
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 #define HAVE_FREXP
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 #define HAVE_FMOD
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 /* NOMULTIPLEJOBS should be defined if your system's shell
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 does not have "job control" (the ability to stop a program,
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 run some other program, then continue the first one). */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 /* #define NOMULTIPLEJOBS */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 /* Emacs can read input using SIGIO and buffering characters itself,
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 or using CBREAK mode and making C-g cause SIGINT.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 The choice is controlled by the variable interrupt_input.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 Emacs uses the presence or absence of the SIGIO macro to indicate
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 whether or not signal-driven I/O is possible. It uses
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 INTERRUPT_INPUT to decide whether to use it by default.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 SIGIO can be used only on systems that implement it (4.2 and 4.3).
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 CBREAK mode has two disadvantages
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 1) At least in 4.2, it is impossible to handle the Meta key properly.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 I hear that in system V this problem does not exist.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 2) Control-G causes output to be discarded.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 I do not know whether this can be fixed in system V.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 Another method of doing input is planned but not implemented.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 It would have Emacs fork off a separate process
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 to read the input and send it to the true Emacs process
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 through a pipe. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 #define INTERRUPT_INPUT
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 /* Letter to use in finding device name of first pty,
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 if system supports pty's. 'a' means it is /dev/ptya0 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 #define FIRST_PTY_LETTER 'a'
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 * Define HAVE_TERMIOS if the system provides POSIX-style
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 * functions and macros for terminal control.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 *
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 * Define HAVE_TERMIO if the system provides sysV-style ioctls
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 * for terminal control.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 *
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 * Do not define both. HAVE_TERMIOS is preferred, if it is
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 * supported on your system.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 /* #define HAVE_TERMIOS */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 /* #define HAVE_TERMIO */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 * Look in <sys/time.h> for a timeval structure.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
116 #define HAVE_TIMEVAL
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
117 struct timeval
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
118 {
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
119 long tv_sec; /* seconds */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
120 long tv_usec; /* microseconds */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
121 };
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
122 struct timezone
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
123 {
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
124 int tz_minuteswest; /* minutes west of Greenwich */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
125 int tz_dsttime; /* type of dst correction */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
126 };
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
127
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
128 void gettimeofday (struct timeval *, struct timezone *);
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
129
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 * Define HAVE_SELECT if the system supports the `select' system call.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 /* #define HAVE_SELECT */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 * Define HAVE_PTYS if the system supports pty devices.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 /* #define HAVE_PTYS */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 /*
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 * The 4.2 opendir, etc., library functions.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 /* #define NONSYSTEM_DIR_LIBRARY */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 /* Define this symbol if your system has the functions bcopy, etc. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 #define BSTRING
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 #define bzero(b, l) memset(b, 0, l)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 #define bcopy(s, d, l) memcpy(d, s, l)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 #define bcmp(a, b, l) memcmp(a, b, l)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 /* subprocesses should be defined if you want to
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 have code for asynchronous subprocesses
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 (as used in M-x compile and M-x shell).
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 This is generally OS dependent, and not supported
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 under most USG systems. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 #define subprocesses
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 /* If your system uses COFF (Common Object File Format) then define the
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 preprocessor symbol "COFF". */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 #define COFF
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 /* define MAIL_USE_FLOCK if the mailer uses flock
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 to interlock access to /usr/spool/mail/$USER.
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 The alternative is that a lock file named
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 /usr/spool/mail/$USER.lock. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 /* #define MAIL_USE_FLOCK */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 /* Define CLASH_DETECTION if you want lock files to be written
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
178 so that Emacs can tell instantly when you try to modify
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179 a file that someone else has modified in his Emacs. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 /* #define CLASH_DETECTION */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 /* Define this if your operating system declares signal handlers to
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 have a type other than the usual. `The usual' is `void' for ANSI C
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
185 systems (i.e. when the __STDC__ macro is defined), and `int' for
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
186 pre-ANSI systems. If you're using GCC on an older system, __STDC__
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
187 will be defined, but the system's include files will still say that
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188 signal returns int or whatever; in situations like that, define
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 this to be what the system's include files want. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190 /* #define SIGTYPE int */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
191
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 /* If the character used to separate elements of the executable path
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 is not ':', #define this to be the appropriate character constant. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194 #define SEPCHAR ';'
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196 /* ============================================================ */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198 /* Here, add any special hacks needed
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
199 to make Emacs work on this system. For example,
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
200 you might define certain system call names that don't
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201 exist on your system, or that do different things on
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
202 your system and must be used only through an encapsulation
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
203 (Which you should place, by convention, in sysdep.c). */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
205 /* Define this to be the separator between path elements */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206 #define DIRECTORY_SEP '\\'
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208 /* Define this to be the separator between devices and paths */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209 #define DEVICE_SEP ':'
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211 /* We'll support either convention on NT. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212 #define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\')
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213 #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_))
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 /* The null device on Windows NT. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216 #define NULL_DEVICE "NUL:"
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 #define EXEC_SUFFIXES ".exe:.com:.bat:"
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 #ifndef MAXPATHLEN
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 #define MAXPATHLEN _MAX_PATH
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 #endif
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
223 #define LISP_FLOAT_TYPE
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
224
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
225 #define HAVE_DUP2 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
226 #define HAVE_RENAME 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
227 #define HAVE_RMDIR 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
228 #define HAVE_MKDIR 1
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 #define HAVE_GETHOSTNAME 1
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
230 #define HAVE_RANDOM 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
231 #define USE_UTIME 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
232 #define HAVE_MOUSE 1
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
233 #define HAVE_TZNAME 1
9818
a4112f6321a5 #include <malloc.h>.
Karl Heuer <kwzh@gnu.org>
parents: 9804
diff changeset
234
13422
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
235 #ifdef HAVE_NTGUI
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
236 #define HAVE_WINDOW_SYSTEM
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
237 #define HAVE_FACES
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
238 #endif
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
239
9818
a4112f6321a5 #include <malloc.h>.
Karl Heuer <kwzh@gnu.org>
parents: 9804
diff changeset
240 #define MODE_LINE_BINARY_TEXT(_b_) (NILP ((_b_)->buffer_file_type) ? "T" : "B")
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 /* These have to be defined because our compilers treat __STDC__ as being
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 defined (most of them anyway). */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 #define access _access
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 #define chdir _chdir
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 #define chmod _chmod
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 #define close _close
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249 #define creat _creat
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 #define dup _dup
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 #define dup2 _dup2
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 #define execlp _execlp
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 #define execvp _execvp
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 #define getpid _getpid
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 #define index strchr
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 #define isatty _isatty
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 #define link _link
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 #define lseek _lseek
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 #define mkdir _mkdir
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 #define mktemp _mktemp
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
261 #define open _open
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262 #define pipe _pipe
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 #define read _read
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 #define rmdir _rmdir
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
265 #define sleep nt_sleep
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266 #define unlink _unlink
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267 #define umask _umask
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
268 #define utime _utime
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
269 #define write _write
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
270 #define _longjmp longjmp
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
271 #define spawnve win32_spawnve
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
272 #define wait win32_wait
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 #define signal win32_signal
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 #define rindex strrchr
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
275 #define ctime nt_ctime /* Place a wrapper around ctime (see nt.c). */
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
276
13422
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
277 #ifdef HAVE_NTGUI
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
278 #define abort win32_abort
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
279 #endif
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
280
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281 /* Defines that we need that aren't in the standard signal.h */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
282 #define SIGHUP 1 /* Hang up */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
283 #define SIGQUIT 3 /* Quit process */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284 #define SIGTRAP 5 /* Trace trap */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 #define SIGKILL 9 /* Die, die die */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 #define SIGPIPE 13 /* Write on pipe with no readers */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
287 #define SIGALRM 14 /* Alarm */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 #define SIGCHLD 18 /* Death of child */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 /* For integration with MSDOS support. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 #define getdisk() (_getdrive () - 1)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
292 #define getdefdir(_drv, _buf) _getdcwd (_drv, _buf, MAXPATHLEN)
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
293
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
294 #define EMACS_CONFIGURATION get_emacs_configuration ()
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
295 #define EMACS_CONFIG_OPTIONS "NT" /* Not very meaningful yet. */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
296
9803
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297 /* Define this so that winsock.h definitions don't get included when windows.h
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298 is... I don't know if they do the right thing for emacs. For this to
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 have proper effect, config.h must always be included before windows.h. */
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
300 #define _WINSOCKAPI_ 1
fa698fd10c05 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
301
9818
a4112f6321a5 #include <malloc.h>.
Karl Heuer <kwzh@gnu.org>
parents: 9804
diff changeset
302 /* Defines size_t and alloca (). */
a4112f6321a5 #include <malloc.h>.
Karl Heuer <kwzh@gnu.org>
parents: 9804
diff changeset
303 #include <malloc.h>
a4112f6321a5 #include <malloc.h>.
Karl Heuer <kwzh@gnu.org>
parents: 9804
diff changeset
304
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
305 /* We have to handle stat specially. However, #defining stat to
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
306 something else not only redefines uses of the function, but also
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
307 redefines uses of the type struct stat. What unfortunate parallel
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
308 naming. */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
309 #include <sys/stat.h>
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
310 struct nt_stat
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
311 {
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
312 struct _stat statbuf;
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
313 };
9804
f98b24714f01 (SYSTEM_PURESIZE_EXTRA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 9803
diff changeset
314
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
315 #ifdef stat
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
316 #undef stat
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
317 #endif
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
318 #define stat nt_stat
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
319 #define st_dev statbuf.st_dev
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
320 #define st_ino statbuf.st_ino
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
321 #define st_mode statbuf.st_mode
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
322 #define st_nlink statbuf.st_nlink
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
323 #define st_uid statbuf.st_uid
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
324 #define st_gid statbuf.st_gid
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
325 #define st_rdev statbuf.st_rdev
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
326 #define st_size statbuf.st_size
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
327 #define st_atime statbuf.st_atime
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
328 #define st_mtime statbuf.st_mtime
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
329 #define st_ctime statbuf.st_ctime
9804
f98b24714f01 (SYSTEM_PURESIZE_EXTRA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 9803
diff changeset
330
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
331 /* Define for those source files that do not include enough NT
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
332 system files. */
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
333 #ifndef NULL
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
334 #ifdef __cplusplus
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
335 #define NULL 0
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
336 #else
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
337 #define NULL ((void *)0)
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
338 #endif
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
339 #endif
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
340
13422
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
341 /* For proper declaration of environ. */
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
342 #include <stdlib.h>
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
343
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
344 /* Emacs takes care of ensuring that these are defined. */
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
345 #ifdef max
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
346 #undef max
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
347 #undef min
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
348 #endif
b3cefdfb34a9 [HAVE_NTGUI] (abort): New macro.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11390
diff changeset
349
11390
5c486ab3c695 (HAVE_RANDOM): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 10511
diff changeset
350 /* ============================================================ */