diff --git a/ext/v8/v8_weakref.h b/ext/v8/v8_weakref.h index 9c8ad46..c080fed 100644 --- a/ext/v8/v8_weakref.h +++ b/ext/v8/v8_weakref.h @@ -3,7 +3,6 @@ #include #include "ruby.h" -#include "ruby/version.h" struct v8_weakref { v8_weakref(VALUE object); @@ -22,9 +21,6 @@ VALUE v8_weakref_objectspace(); VALUE v8_weakref_nil(VALUE nil, VALUE exception); VALUE v8_weakref_id2ref(VALUE id); - -#if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 8 extern "C" VALUE rb_proc_new(VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE); -#endif #endif