From 0eadc2302cac53a778a0cf189ce6558f5f842ef7 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 6 Aug 2007 22:42:50 +0000 Subject: [PATCH] Added mostneg and mostpos for my custom bool type, to get cgtest05 to compile --- tock_support_cppcsp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tock_support_cppcsp.h b/tock_support_cppcsp.h index 471772e..3252b59 100644 --- a/tock_support_cppcsp.h +++ b/tock_support_cppcsp.h @@ -128,6 +128,10 @@ public: }; +//Let's assume bool is an unsigned byte: +#define occam_mostneg_tockBool 0 +#define occam_mostpos_tockBool 255 + class tockBool { private: