Commit 47309ffa authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Don't try to compile printf-calling code under non-unixy embedded systems

parent b26a8325
#ifdef __unix__
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
......@@ -31,3 +33,5 @@ void debug_printf(DebugLevel level, const char *fmt, ...)
if (level == LVL_PANIC)
exit(1);
}
#endif
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