Source-Changes-HG archive

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

[src/trunk]: src/sys/sys No <stdbool.h> if _STANDALONE



details:   https://anonhg.NetBSD.org/src/rev/fa9b346f57af
branches:  trunk
changeset: 771653:fa9b346f57af
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 27 11:07:21 2011 +0000

description:
No <stdbool.h> if _STANDALONE

diffstat:

 sys/sys/systm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d2fe223b9947 -r fa9b346f57af sys/sys/systm.h
--- a/sys/sys/systm.h   Sun Nov 27 10:53:07 2011 +0000
+++ b/sys/sys/systm.h   Sun Nov 27 11:07:21 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.255 2011/11/27 10:31:12 martin Exp $       */
+/*     $NetBSD: systm.h,v 1.256 2011/11/27 11:07:21 martin Exp $       */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -43,7 +43,7 @@
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
 #endif
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
 #include <stdbool.h>
 #endif
 



Home | Main Index | Thread Index | Old Index