From 44739e280e81c2ebf2491818eb5a6d0ef30c7c6b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 16 Feb 2014 18:11:42 +0200 Subject: Make DEBUG_printf() a proper function, implementation is port-dependent. In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null). --- py/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/gc.c') diff --git a/py/gc.c b/py/gc.c index e66a6832d..8c4bc691e 100644 --- a/py/gc.c +++ b/py/gc.c @@ -10,7 +10,7 @@ #if 0 // print debugging info #define DEBUG_PRINT (1) -#define DEBUG_printf(args...) printf(args) +#define DEBUG_printf DEBUG_printf #else // don't print debugging info #define DEBUG_printf(args...) (void)0 #endif -- cgit v1.2.3