Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Native extension: include ruby/debug.h for rb_postponed_job_register_…
…one prototype Avoids relying on the implicit declaration. Fixes compiling with latest Clang from Xcode 12. Closes #81.
- Loading branch information
7aee201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruby/debug.h was introduced with ruby/ruby@cea7600#diff-0a664fffd3b89256eb738e146535994539ffc48424e16ace9c75506351ebe00c first tagged with v2_0_0_preview2, so this breaks compatibility with Ruby 1.9.3 and Ruby 1.8.7, the last versions on those branches. Surely that's fair enough but it would have helped me if we had the required_ruby_version declared in the gemspec.