From 20c4b6371c02bdb52e93f101d6983c4bf6dee5b5 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Wed, 10 Apr 2013 01:24:10 +0200 Subject: digital/io-hub/src/apbirthday: add score debug message --- digital/io-hub/src/common-cc/debug.host.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'digital/io-hub/src/common-cc') diff --git a/digital/io-hub/src/common-cc/debug.host.hh b/digital/io-hub/src/common-cc/debug.host.hh index e64dff45..6db8ccd8 100644 --- a/digital/io-hub/src/common-cc/debug.host.hh +++ b/digital/io-hub/src/common-cc/debug.host.hh @@ -26,9 +26,12 @@ /// Assert only on host, for costly asserts. #ifdef TARGET_host +# include # define host_assert ucoo::assert +# define host_debug(args...) fprintf (stderr, args) #else # define host_assert(x) +# define host_debug(args...) #endif #endif // debug_host_hh -- cgit v1.2.3