Add 2012 to FSF copyright years for Emacs files
[bpt/emacs.git] / src / m / ibmrs6000.h
1 /* R2 AIX machine/system dependent defines
2
3 Copyright (C) 1988, 2001-2012 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
21 /* The data segment in this machine always starts at address 0x20000000.
22 An address of data cannot be stored correctly in a Lisp object;
23 we always lose the high bits. We must tell XPNTR to add them back. */
24 #define DATA_START 0x20000000
25 #define DATA_SEG_BITS 0x20000000
26
27 #ifndef NLIST_STRUCT
28 /* AIX supposedly doesn't use this interface, but on the RS/6000
29 it apparently does. */
30 #define NLIST_STRUCT
31 #endif
32
33 #undef ADDR_CORRECT
34 #define ADDR_CORRECT(x) ((int)(x))
35
36 /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/
37 #define BROKEN_FIONREAD
38 /* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h.
39 But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO,
40 which causes compilation error at init_signals in sysdep.c. So, we
41 define these macros so that syssignal.h detects them and undefine
42 SIGAIO, SIGPTY and SIGPOLL. */
43 #define BROKEN_SIGAIO
44 #define BROKEN_SIGPTY
45 #define BROKEN_SIGPOLL
46