From ffcd05c39279950d5700e65f793922e40e7fabf4 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 24 Jul 2000 18:30:41 +0000 Subject: [PATCH] (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__. --- src/m/sparc.h | 16 +++++++++------- 1 file 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 */ #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 -- 2.39.2