From ac8fb20a112a207e20742a605cd1ab0464d07c94 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 30 Oct 2009 15:21:28 +0000 Subject: make the C++ boolean hack not cause collisions svn path=/trunk/externals/pdp/; revision=12698 --- include/pdp_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/pdp_types.h b/include/pdp_types.h index 85d0716..d2b0586 100644 --- a/include/pdp_types.h +++ b/include/pdp_types.h @@ -46,9 +46,13 @@ typedef unsigned int u32; typedef unsigned long long u64; -#ifndef __cplusplus +#ifndef bool typedef int bool; +#endif +#ifndef true #define true 1; +#endif +#ifndef false #define false 0; #endif -- cgit v1.2.1