]> Savannah Git Hosting - gnulib.git/commitdiff
getloadavg: Remove support for tek4300.
authorBruno Haible <bruno@clisp.org>
Tue, 16 Oct 2018 16:51:00 +0000 (18:51 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 17 Oct 2018 23:46:16 +0000 (01:46 +0200)
* lib/getloadavg.c: Remove tek4300 case.

ChangeLog
lib/getloadavg.c

index f8d6401bffadac0416a817d3bb1a4a57ed2a778e..59f0d4d9cb67039c84ecad8edd0c143014420aad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index ec733a6090fb2117249b084f0ebc633bb54bb82d..30912e9434aa941fe2b27b8a25864a8304cc578e 100644 (file)
 #  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
 #   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
 #   define FSCALE 1000.0
 #  endif
 
-#  ifdef tek4300
-#   define FSCALE 100.0
-#  endif
-
 #  if defined _AIX && !defined HAVE_LIBPERFSTAT
 #   define FSCALE 65536.0
 #  endif