Skip to content

Commit

Permalink
Fix -Wundef warnings for HAVE_RB_EXT_RACTOR_SAFE
Browse files Browse the repository at this point in the history
* See [Feature #17752]
  • Loading branch information
eregon authored and hsbt committed May 6, 2021
1 parent fd74752 commit c42f915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/cgi/escape/escape.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ cgiesc_unescape(int argc, VALUE *argv, VALUE self)
void
Init_escape(void)
{
#if HAVE_RB_EXT_RACTOR_SAFE
#ifdef HAVE_RB_EXT_RACTOR_SAFE
rb_ext_ractor_safe(true);
#endif

Expand Down

0 comments on commit c42f915

Please sign in to comment.