mruby-sprintf to use mrb_int formatting macros; ref #3076

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-01-07 12:23:17 +09:00
parent 3cf5af681a
commit 7c82bfa7fe
3 changed files with 30 additions and 17 deletions
+2
View File
@@ -22,6 +22,8 @@ struct mrb_state;
# error "You can't define MRB_INT16 and MRB_INT64 at the same time."
#endif
#include <inttypes.h>
#if defined(MRB_INT64)
typedef int64_t mrb_int;
# define MRB_INT_BIT 64