summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-22 18:38:53 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-01-22 18:38:53 +0900
commitdc51d89ac22acc60b9bfeed87115863565b74085 (patch)
tree4ac51e7949d187c87aa4fb29159b6f7ae02401b3 /mrbgems/mruby-proc-ext
parentc5c156a6dd57eddc87e2162172b202233e45ad70 (diff)
downloadmruby-dc51d89ac22acc60b9bfeed87115863565b74085.tar.gz
mruby-dc51d89ac22acc60b9bfeed87115863565b74085.zip
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<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure.
Diffstat (limited to 'mrbgems/mruby-proc-ext')
-rw-r--r--mrbgems/mruby-proc-ext/src/proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-proc-ext/src/proc.c b/mrbgems/mruby-proc-ext/src/proc.c
index 6117c4d40..cb748651d 100644
--- a/mrbgems/mruby-proc-ext/src/proc.c
+++ b/mrbgems/mruby-proc-ext/src/proc.c
@@ -4,7 +4,6 @@
#include <mruby/array.h>
#include <mruby/string.h>
#include <mruby/debug.h>
-#include <mruby/presym.h>
static mrb_value
mrb_proc_lambda_p(mrb_state *mrb, mrb_value self)