Move PTY_OPEN from src/s to configure
[bpt/emacs.git] / src / s / aix4-2.h
1 /*
2 Copyright (C) 1999, 2001-2012 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 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
19 /* Define symbols to identify the version of Unix this is.
20 Define all the symbols that apply correctly. */
21 #define USG /* System III, System V, etc */
22 #define USG5
23
24 /* This symbol should be defined on AIX Version 3 ??????? */
25 #ifndef _AIX
26 #define _AIX
27 #endif
28
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. */
31 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
32 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
33
34 \f
35 /* Special items needed to make Emacs run on this system. */
36
37 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
38 #undef sigmask
39
40 #ifndef HAVE_LIBXMU
41 /* Unfortunately without libXmu we cannot support EditRes. */
42 #define NO_EDITRES
43 #endif
44
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