summaryrefslogtreecommitdiff
path: root/internal/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/vm.h')
-rw-r--r--internal/vm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/vm.h b/internal/vm.h
index e9d2d09c6c..1bd7a98f7a 100644
--- a/internal/vm.h
+++ b/internal/vm.h
@@ -15,6 +15,14 @@
#include "ruby/ruby.h" /* for ID */
#include "ruby/st.h" /* for st_table */
+#ifdef rb_funcallv
+# undef rb_funcallv
+#endif
+
+#ifdef rb_method_basic_definition_p
+# undef rb_method_basic_definition_p
+#endif
+
/* I have several reasons to choose 64 here:
*
* - A cache line must be a power-of-two size.