From dc51d89ac22acc60b9bfeed87115863565b74085 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 22 Jan 2021 18:38:53 +0900 Subject: Minimize the changes in #5277 Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I/include` before `-I/include` in `presym.rake`. So even when someone drops `-I/include` in compiler options, it just compiles without failure. --- mrbgems/mruby-io/src/file.c | 1 - mrbgems/mruby-io/src/io.c | 1 - 2 files changed, 2 deletions(-) (limited to 'mrbgems/mruby-io/src') diff --git a/mrbgems/mruby-io/src/file.c b/mrbgems/mruby-io/src/file.c index 8e7d64958..58f4bcc6f 100644 --- a/mrbgems/mruby-io/src/file.c +++ b/mrbgems/mruby-io/src/file.c @@ -8,7 +8,6 @@ #include "mruby/string.h" #include "mruby/ext/io.h" #include "mruby/error.h" -#include "mruby/presym.h" #include #include diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c index b9d136a5a..31ea572a4 100644 --- a/mrbgems/mruby-io/src/io.c +++ b/mrbgems/mruby-io/src/io.c @@ -11,7 +11,6 @@ #include "mruby/variable.h" #include "mruby/ext/io.h" #include "mruby/error.h" -#include "mruby/presym.h" #include #include -- cgit v1.2.3