summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-12-09 02:57:03 +0900
committerGitHub <[email protected]>2016-12-09 02:57:03 +0900
commitdb6b6ff4420b6e9a68e90e497131560d1e57c06f (patch)
treeb3b6afd6c88cb9bdf507a4ba7d2c139339e2fd37 /src
parentb84e005fc36a3c669586cc66ab3c87630d7a5509 (diff)
parent2827655b9cf3099ef323cfb7967e5ddaa8ba28e1 (diff)
downloadmruby-db6b6ff4420b6e9a68e90e497131560d1e57c06f.tar.gz
mruby-db6b6ff4420b6e9a68e90e497131560d1e57c06f.zip
Merge pull request #3336 from AltimitSystems/string.const.macro
Removed unnecessary const macro - const keyword is already a dependency
Diffstat (limited to 'src')
-rw-r--r--src/string.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/string.c b/src/string.c
index c921ca56d..a4f8085ec 100644
--- a/src/string.c
+++ b/src/string.c
@@ -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