Mercurial > emacs
annotate src/m/ibm370aix.h @ 53955:7d8c228c1f02
(init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: Perform byte-swapping.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 15 Feb 2004 16:19:00 +0000 |
parents | 695cf19ef79e |
children | 23a17af379b1 375f2633d815 |
rev | line source |
---|---|
36226 | 1 /* m/ file for IBM 370 running AIX. |
2 Copyright (C) 1993, 1994, 2001 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 2, or (at your option) | |
9 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; see the file COPYING. If not, write to | |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 Boston, MA 02111-1307, USA. */ | |
456 | 20 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
21 #include "ibmps2-aix.h" |
456 | 22 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
23 #define AIX |
456 | 24 |
10077
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
25 /* Include unistd.h, even though we don't define POSIX. */ |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
26 #define NEED_UNISTD_H |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
27 |
4642
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
28 /* these were defined in "ibmps2-aix.h" */ |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
29 #undef INTEL386 |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
30 #undef aix386 |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
31 |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
32 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
33 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
35 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
36 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
37 #undef TEXT_START |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
38 #undef SEGMENT_MASK |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
39 #undef DATA_SECTION_ALIGNMENT |
456 | 40 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
41 #define TEXT_START 0 |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
42 #define SEGMENT_MASK 0 |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
43 #define DATA_SECTION_ALIGNMENT 0x00001000 |
456 | 44 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
45 #undef LOAD_AVE_CVT |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
46 #undef LOAD_AVE_TYPE |
456 | 47 /* Data type of load average, as read out of kmem. */ |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
48 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0) |
456 | 49 #define LOAD_AVE_TYPE double |
50 | |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
51 #undef LIBS_MACHINE |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
41857
diff
changeset
|
52 #define LIBS_MACHINE |
456 | 53 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
54 #undef LD_SWITCH_MACHINE |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
55 #define LD_SWITCH_MACHINE -xa |
52401 | 56 |
57 /* arch-tag: 8605b600-0580-4e49-9ba9-8b4a977f860a | |
58 (do not change this comment) */ |