diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-03 18:03:23 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-03 18:03:23 +0900 |
| commit | 963b44286acf2e822130ef693a9891d06a3e4dfc (patch) | |
| tree | 90e08e268859ea53dac81472c30026a0594a3941 /mrbgems/mruby-test | |
| parent | b7e8406f6cf7f8f83fe9594d06c0861e4068241b (diff) | |
| download | mruby-963b44286acf2e822130ef693a9891d06a3e4dfc.tar.gz mruby-963b44286acf2e822130ef693a9891d06a3e4dfc.zip | |
Use C99 `__func__` instead of `__FUNCTION__`; #5107
Diffstat (limited to 'mrbgems/mruby-test')
| -rw-r--r-- | mrbgems/mruby-test/mrbgem.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-test/mrbgem.rake b/mrbgems/mruby-test/mrbgem.rake index 0df683f7f..cff4278b8 100644 --- a/mrbgems/mruby-test/mrbgem.rake +++ b/mrbgems/mruby-test/mrbgem.rake @@ -81,7 +81,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| f.puts %Q[ ai = mrb_gc_arena_save(mrb);] f.puts %Q[ mrb2 = mrb_open_core(mrb_default_allocf, NULL);] f.puts %Q[ if (mrb2 == NULL) {] - f.puts %Q[ fprintf(stderr, "Invalid mrb_state, exiting \%s", __FUNCTION__);] + f.puts %Q[ fprintf(stderr, "Invalid mrb_state, exiting \%s", __func__);] f.puts %Q[ exit(EXIT_FAILURE);] f.puts %Q[ }] dep_list.each do |d| |
