mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
undef print_backtrace_i() unless ENABLE_STDIO
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
typedef void (*output_stream_func)(mrb_state*, void*, int, const char*, ...);
|
||||
|
||||
#ifdef ENABLE_STDIO
|
||||
static void
|
||||
print_backtrace_i(mrb_state *mrb, void *stream, int level, const char *format, ...)
|
||||
{
|
||||
@@ -22,6 +23,7 @@ print_backtrace_i(mrb_state *mrb, void *stream, int level, const char *format, .
|
||||
vfprintf((FILE*)stream, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
#endif
|
||||
|
||||
#define MIN_BUFSIZE 127
|
||||
|
||||
|
||||
Reference in New Issue
Block a user