1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

remove conditional linking to rb_proc_new()

This commit is contained in:
Charles Lowell 2011-05-03 10:27:12 -05:00
parent aeecf9950e
commit 7de9d0e3f1

View file

@ -3,7 +3,6 @@
#include <v8.h>
#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