Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/vm Pull up rev 1.21 from the trunk:



details:   https://anonhg.NetBSD.org/src/rev/2c5b1c799fcb
branches:  netbsd-1-4
changeset: 468196:2c5b1c799fcb
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Apr 12 23:20:09 1999 +0000

description:
Pull up rev 1.21 from the trunk:
        Check to see if TRUE and FALSE are already defined before blindly
        trying to define them ourselves.

        Fixes PRs kern/2813 and misc/7356.

diffstat:

 sys/vm/vm_param.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1f556815192d -r 2c5b1c799fcb sys/vm/vm_param.h
--- a/sys/vm/vm_param.h Mon Apr 12 23:05:59 1999 +0000
+++ b/sys/vm/vm_param.h Mon Apr 12 23:20:09 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_param.h,v 1.19 1999/03/24 05:51:36 mrg Exp $        */
+/*     $NetBSD: vm_param.h,v 1.19.2.1 1999/04/12 23:20:09 simonb Exp $ */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -77,8 +77,12 @@
  * This belongs in types.h, but breaks too many existing programs.
  */
 typedef int    boolean_t;
+#ifndef TRUE
 #define        TRUE    1
+#endif
+#ifndef FALSE
 #define        FALSE   0
+#endif
 
 /*
  *     The machine independent pages are refered to as PAGES.  A page



Home | Main Index | Thread Index | Old Index