Unverified Commit dd1c100b authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4355 from shuujii/modify-else-and-endif-annotations-in-src-fmt_fp.c

Modify `#else` and `#endif` annotations in `src/fmt_fp.c` [ci skip]
parents 50a223f2 5e0caefa
......@@ -372,7 +372,7 @@ mrb_float_to_str(mrb_state *mrb, mrb_value flo, const char *fmt)
}
return f.str;
}
#else /* MRB_DISABLE_STDIO */
#else /* MRB_DISABLE_STDIO || _WIN32 || _WIN64 */
#include <mruby.h>
#include <stdio.h>
......@@ -384,5 +384,5 @@ mrb_float_to_str(mrb_state *mrb, mrb_value flo, const char *fmt)
snprintf(buf, sizeof(buf), fmt, mrb_float(flo));
return mrb_str_new_cstr(mrb, buf);
}
#endif /* MRB_DISABLE_STDIO */
#endif /* MRB_DISABLE_STDIO || _WIN32 || _WIN64 */
#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