]> code.delx.au - gnu-emacs/commitdiff
(TERMINFO): Moved to system files (probably only relevant for sunos4
authorDave Love <fx@gnu.org>
Mon, 24 Jul 2000 18:30:41 +0000 (18:30 +0000)
committerDave Love <fx@gnu.org>
Mon, 24 Jul 2000 18:30:41 +0000 (18:30 +0000)
judging by its vintage).
(BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on
__arch64__.

src/m/sparc.h

index f48604ac994027c9efddb3a0ebc1778eaf95ed95..b9ce56434ca81ca37306645e8881a0e38ea74165 100644 (file)
@@ -73,13 +73,6 @@ NOTE-END  */
 #endif
 #endif
 
-/* Must use the system's termcap, if we use any termcap.
-   It does special things.  */
-
-#ifndef TERMINFO
-#define LIBS_TERMCAP -ltermcap
-#endif
-
 /* Mask for address bits within a memory segment */
 
 #define SEGMENT_MASK (SEGSIZ - 1)
@@ -110,3 +103,12 @@ NOTE-END  */
 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
 
 #endif /* not __NetBSD__ and not __linux__ and not __OpenBSD__ */
+
+#ifdef __arch64__              /* GCC, 64-bit ABI.  */
+#define BITS_PER_LONG 64
+#define BITS_PER_EMACS_INT 64
+#ifndef _LP64
+#define _LP64                  /* Done on Alpha -- not sure if it
+                                  should be here.  -- fx */
+#endif
+#endif