summaryrefslogtreecommitdiff
path: root/regint.h
diff options
context:
space:
mode:
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/regint.h b/regint.h
index b9bb3b8..fc37f65 100644
--- a/regint.h
+++ b/regint.h
@@ -115,8 +115,7 @@
#ifdef RUBY
-#include "vm_core.h"
-#define CHECK_INTERRUPT_IN_MATCH_AT RUBY_VM_CHECK_INTS()
+#define CHECK_INTERRUPT_IN_MATCH_AT rb_thread_check_ints()
#define onig_st_init_table st_init_table
#define onig_st_init_table_with_size st_init_table_with_size
#define onig_st_init_numtable st_init_numtable