From 18fdf7e03f7b7d79b2374797d4c2348c896fa0f8 Mon Sep 17 00:00:00 2001 From: cremno Date: Mon, 30 Mar 2015 21:01:16 +0200 Subject: remove unnecessary inclusion The format specifier macros were needed to portably print a mrb_int, because mrb_raisef() originally called vsnprintf(). It doesn't anymore since 18b2683b97ae54d4f2f15c19076f33aa29eaf2b7 and the mrb_int format specifier macros are already gone. --- include/mruby/value.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/mruby/value.h b/include/mruby/value.h index f27800366..4938113f0 100644 --- a/include/mruby/value.h +++ b/include/mruby/value.h @@ -61,11 +61,7 @@ MRB_API int mrb_msvc_snprintf(char *s, size_t n, const char *format, ...); static const unsigned int IEEE754_INFINITY_BITS_SINGLE = 0x7F800000; # define INFINITY (*(float *)&IEEE754_INFINITY_BITS_SINGLE) # define NAN ((float)(INFINITY - INFINITY)) -# else -# include # endif -#else -# include #endif enum mrb_vtype { -- cgit v1.2.3