From b2398879fa4d40f65703ca819d012af4a000bbb2 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 25 Jun 2020 11:31:24 +0900 Subject: [PATCH] Avoid including `limits.h` and `stdint.h` before `mruby.h`. They are included from `mruby.h` anyway, and including it ahead can cause some errors regarding `INT32_MAX` etc. with C++ compiler. --- mrbgems/mruby-compiler/core/codegen.c | 2 -- benchmark/build_config_boxing.rb => target/boxing.rb | 0 2 files changed, 2 deletions(-) rename benchmark/build_config_boxing.rb => target/boxing.rb (100%) diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c index 14b53d073..189bb95b8 100644 --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -5,8 +5,6 @@ */ #include -#include -#include #include #include #include diff --git a/benchmark/build_config_boxing.rb b/target/boxing.rb similarity index 100% rename from benchmark/build_config_boxing.rb rename to target/boxing.rb