remove unnecessary <inttypes.h> inclusion

The format specifier macros were needed to portably print a mrb_int,
because mrb_raisef() originally called vsnprintf(). It doesn't anymore
since 18b2683b97 and the mrb_int format
specifier macros are already gone.
This commit is contained in:
cremno
2015-03-30 21:01:16 +02:00
parent 0573306f51
commit 18fdf7e03f
-4
View File
@@ -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 <inttypes.h>
# endif
#else
# include <inttypes.h>
#endif
enum mrb_vtype {