summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-25 11:31:24 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:18 +0900
commitb2398879fa4d40f65703ca819d012af4a000bbb2 (patch)
tree8da2bc877bc81fe3a58dd8d385e5cf729c8aaff4 /mrbgems/mruby-compiler/core
parente01648b86bf43e2dfc2c8a349cf1e14b322d4086 (diff)
downloadmruby-b2398879fa4d40f65703ca819d012af4a000bbb2.tar.gz
mruby-b2398879fa4d40f65703ca819d012af4a000bbb2.zip
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.
Diffstat (limited to 'mrbgems/mruby-compiler/core')
-rw-r--r--mrbgems/mruby-compiler/core/codegen.c2
1 files changed, 0 insertions, 2 deletions
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 <ctype.h>
-#include <limits.h>
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>