Commit bf7e6d57 authored by Marek Vavruša's avatar Marek Vavruša

build: fixed NDEBUG build

parent 66cd8383
......@@ -65,6 +65,11 @@ static inline int u16tostr(uint8_t *dst, uint16_t num)
* Cleanup callbacks.
*/
/* Always compile-in log symbols, even if disabled. */
#undef kr_debug_set
#undef kr_debug_status
#undef kr_log_debug
bool kr_debug_set(bool status)
{
return _env_debug = status;
......@@ -407,4 +412,4 @@ char *kr_module_call(struct kr_context *ctx, const char *module, const char *pro
}
}
return NULL;
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment