Commit | Line | Data |
---|---|---|
f2a77c3a | 1 | /* |
acaf905b | 2 | Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc. |
c64b0eb7 | 3 | |
f2a77c3a DN |
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 3 of the License, or | |
9 | (at your option) 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |
18 | ||
e05aebe9 GM |
19 | /* Define symbols to identify the version of Unix this is. |
20 | Define all the symbols that apply correctly. */ | |
f2a77c3a DN |
21 | #define USG /* System III, System V, etc */ |
22 | #define USG5 | |
23 | ||
e05aebe9 | 24 | /* This symbol should be defined on AIX Version 3 ??????? */ |
f2a77c3a DN |
25 | #ifndef _AIX |
26 | #define _AIX | |
27 | #endif | |
28 | ||
f2a77c3a DN |
29 | /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. |
30 | To get the name of the slave side, you just ttyname() the master side. */ | |
f2a77c3a DN |
31 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); |
32 | #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); | |
33 | ||
f2a77c3a | 34 | \f |
7f34aec3 | 35 | /* Special items needed to make Emacs run on this system. */ |
f2a77c3a | 36 | |
f2a77c3a | 37 | /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ |
f2a77c3a DN |
38 | #undef sigmask |
39 | ||
f2a77c3a | 40 | #ifndef HAVE_LIBXMU |
f2a77c3a DN |
41 | /* Unfortunately without libXmu we cannot support EditRes. */ |
42 | #define NO_EDITRES | |
43 | #endif | |
ab5796a9 | 44 | |
b948ce8b PE |
45 | /* Conservative garbage collection has not been tested, so for now |
46 | play it safe and stick with the old-fashioned way of marking. */ | |
47 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |