diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-22 18:38:53 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-22 18:38:53 +0900 |
| commit | dc51d89ac22acc60b9bfeed87115863565b74085 (patch) | |
| tree | 4ac51e7949d187c87aa4fb29159b6f7ae02401b3 /mrbgems/mruby-sprintf | |
| parent | c5c156a6dd57eddc87e2162172b202233e45ad70 (diff) | |
| download | mruby-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-sprintf')
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index f6dab159d..411aec295 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -10,7 +10,6 @@ #include <mruby/string.h> #include <mruby/hash.h> #include <mruby/numeric.h> -#include <mruby/presym.h> #ifndef MRB_NO_FLOAT #include <math.h> #endif |
