diff --git a/include/wrc.h b/include/wrc.h index ad2da1819abb9306b3f7a99c142667f1183ed1cf..04078044ba761c8da9d430f26ba1e2167c3034e2 100644 --- a/include/wrc.h +++ b/include/wrc.h @@ -13,6 +13,9 @@ #define mprintf pp_printf #define vprintf pp_vprintf #define sprintf pp_sprintf +#ifdef CONFIG_PPSI +# define printf(x, ...) pp_printf(x, ##__VA_ARGS__) +#endif #undef offsetof #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)