From 3be70ab6e0623d30ea48205fcdaa0a7709474ce7 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 26 Apr 2013 17:41:34 +0000 Subject: [PATCH] Define __bool_true_false_are_defined for C++ as well. --- include/stdbool.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/stdbool.h b/include/stdbool.h index 3c968767ae54..966416bdf4a0 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdbool.h,v 1.4 2013/04/26 10:58:22 joerg Exp $ */ +/* $NetBSD: stdbool.h,v 1.5 2013/04/26 17:41:34 joerg Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,8 @@ #define true 1 #define false 0 -#define __bool_true_false_are_defined 1 #endif /* __cplusplus */ +#define __bool_true_false_are_defined 1 + #endif /* _STDBOOL_H_ */