diff src/m/sparc.h @ 30427:42a7a2149c68

(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__.
author Dave Love <fx@gnu.org>
date Mon, 24 Jul 2000 18:30:41 +0000
parents a5c775054e81
children d3866cec14e8
line wrap: on
line diff
--- a/src/m/sparc.h	Mon Jul 24 18:28:05 2000 +0000
+++ b/src/m/sparc.h	Mon Jul 24 18:30:41 2000 +0000
@@ -73,13 +73,6 @@
 #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 @@
 #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