Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/pmax Don't abuse preprocessor flags.



details:   https://anonhg.NetBSD.org/src/rev/259b25d6498e
branches:  trunk
changeset: 518437:259b25d6498e
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Fri Nov 30 06:40:52 2001 +0000

description:
Don't abuse preprocessor flags.

diffstat:

 sys/arch/pmax/pmax/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4298fe060fcc -r 259b25d6498e sys/arch/pmax/pmax/machdep.c
--- a/sys/arch/pmax/pmax/machdep.c      Fri Nov 30 06:30:52 2001 +0000
+++ b/sys/arch/pmax/pmax/machdep.c      Fri Nov 30 06:40:52 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.197 2001/11/14 18:15:34 thorpej Exp $    */
+/*     $NetBSD: machdep.c,v 1.198 2001/11/30 06:40:52 gmcgarry Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.197 2001/11/14 18:15:34 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.198 2001/11/30 06:40:52 gmcgarry Exp $");
 
 #include "fs_mfs.h"
 #include "opt_ddb.h"
@@ -782,7 +782,7 @@
        static struct timeval lasttime;
 
        *tvp = time;
-#if (DEC_3MIN + DEC_MAXINE + DEC_3MAXPLUS) > 0
+#if defined(DEC_3MIN) || defined(DEC_MAXINE) || defined(DEC_3MAXPLUS)
        tvp->tv_usec += (*platform.clkread)();
 #endif
        if (tvp->tv_usec >= 1000000) {



Home | Main Index | Thread Index | Old Index