# HG changeset patch # User Dave Love # Date 964463441 0 # Node ID 42a7a2149c6804ad0095f48a727de5604bf7c8c0 # Parent 8674e7d48c7af4d42ca1b7a1f88be97faa34104a (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__. diff -r 8674e7d48c7a -r 42a7a2149c68 src/m/sparc.h --- 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