aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-07-24 18:30:41 +0000
committerDave Love2000-07-24 18:30:41 +0000
commitffcd05c39279950d5700e65f793922e40e7fabf4 (patch)
treee2ab86ec22653fdfe8426610c2d51512ab6dd65a /src
parent9272c039fbd67d5f49ad75518e6a45b0d58dc22e (diff)
downloademacs-ffcd05c39279950d5700e65f793922e40e7fabf4.tar.gz
emacs-ffcd05c39279950d5700e65f793922e40e7fabf4.zip
(TERMINFO): Moved to system files (probably only relevant for sunos4
judging by its vintage). (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on __arch64__.
Diffstat (limited to 'src')
-rw-r--r--src/m/sparc.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/m/sparc.h b/src/m/sparc.h
index f48604ac994..b9ce56434ca 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -73,13 +73,6 @@ NOTE-END */
73#endif 73#endif
74#endif 74#endif
75 75
76/* Must use the system's termcap, if we use any termcap.
77 It does special things. */
78
79#ifndef TERMINFO
80#define LIBS_TERMCAP -ltermcap
81#endif
82
83/* Mask for address bits within a memory segment */ 76/* Mask for address bits within a memory segment */
84 77
85#define SEGMENT_MASK (SEGSIZ - 1) 78#define SEGMENT_MASK (SEGSIZ - 1)
@@ -110,3 +103,12 @@ NOTE-END */
110#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) 103#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
111 104
112#endif /* not __NetBSD__ and not __linux__ and not __OpenBSD__ */ 105#endif /* not __NetBSD__ and not __linux__ and not __OpenBSD__ */
106
107#ifdef __arch64__ /* GCC, 64-bit ABI. */
108#define BITS_PER_LONG 64
109#define BITS_PER_EMACS_INT 64
110#ifndef _LP64
111#define _LP64 /* Done on Alpha -- not sure if it
112 should be here. -- fx */
113#endif
114#endif