Merge pull request #3336 from AltimitSystems/string.const.macro

Removed unnecessary const macro - const keyword is already a dependency
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-12-09 02:57:03 +09:00
committed by GitHub
-8
View File
@@ -2770,14 +2770,6 @@ mrb_init_string(mrb_state *mrb)
#include <ctype.h>
#include <errno.h>
#ifndef __STDC__
# ifdef __GNUC__
# define const __const__
# elif !defined(_MSC_VER)
# define const
# endif
#endif
static const int maxExponent = 511; /* Largest possible base 10 exponent. Any
* exponent larger than this will already
* produce underflow or overflow, so there's