summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-struct
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-struct
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-struct')
-rw-r--r--mrbgems/mruby-struct/src/struct.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c
index 54afefd74..c64a494a5 100644
--- a/mrbgems/mruby-struct/src/struct.c
+++ b/mrbgems/mruby-struct/src/struct.c
@@ -13,7 +13,6 @@
#include <mruby/hash.h>
#include <mruby/range.h>
#include <mruby/proc.h>
-#include <mruby/presym.h>
#define RSTRUCT_LEN(st) RARRAY_LEN(st)
#define RSTRUCT_PTR(st) RARRAY_PTR(st)