Mercurial > gnulib
changeset 39925:a1360d6199ba
getloadavg: Remove support for tek4300.
* lib/getloadavg.c: Remove tek4300 case.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 16 Oct 2018 18:51:00 +0200 |
parents | 8cd275b3c9a9 |
children | 7e14107f14ce |
files | ChangeLog lib/getloadavg.c |
diffstat | 2 files changed, 5 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 16 18:47:19 2018 +0200 +++ b/ChangeLog Tue Oct 16 18:51:00 2018 +0200 @@ -1,3 +1,8 @@ +2018-10-16 Bruno Haible <bruno@clisp.org> + + getloadavg: Remove support for tek4300. + * lib/getloadavg.c: Remove tek4300 case. + 2018-10-16 Bruno Haible <bruno@clisp.org> getloadavg: Remove support for Ardent.
--- a/lib/getloadavg.c Tue Oct 16 18:47:19 2018 +0200 +++ b/lib/getloadavg.c Tue Oct 16 18:51:00 2018 +0200 @@ -172,13 +172,6 @@ # include <sys/table.h> # endif -/* UTek's /bin/cc on the 4300 has no architecture specific cpp define by - default, but _MACH_IND_SYS_TYPES is defined in <sys/types.h>. Combine - that with a couple of other things and we'll have a unique match. */ -# if !defined (tek4300) && defined (unix) && defined (m68k) && defined (mc68000) && defined (mc68020) && defined (_MACH_IND_SYS_TYPES) -# define tek4300 /* Define by emacs, but not by other users. */ -# endif - /* VAX C can't handle multi-line #ifs, or lines longer than 256 chars. */ # ifndef LOAD_AVE_TYPE @@ -219,10 +212,6 @@ # define LOAD_AVE_TYPE long # endif -# ifdef tek4300 -# define LOAD_AVE_TYPE long -# endif - # if defined (alliant) && defined (i860) /* Alliant FX/2800 */ # define LOAD_AVE_TYPE long # endif @@ -274,10 +263,6 @@ # define FSCALE 1000.0 # endif -# ifdef tek4300 -# define FSCALE 100.0 -# endif - # if defined _AIX && !defined HAVE_LIBPERFSTAT # define FSCALE 65536.0 # endif