ext/fiddle/fiddle.c in fiddle-1.0.9 vs ext/fiddle/fiddle.c in fiddle-1.1.0
- old
+ new
@@ -5,11 +5,11 @@
VALUE rb_eFiddleError;
void Init_fiddle_pointer(void);
void Init_fiddle_pinned(void);
-#ifdef FIDDLE_MEMORY_VIEW
+#ifdef HAVE_RUBY_MEMORY_VIEW_H
void Init_fiddle_memory_view(void);
#endif
/*
* call-seq: Fiddle.malloc(size)
@@ -544,10 +544,10 @@
Init_fiddle_closure();
Init_fiddle_handle();
Init_fiddle_pointer();
Init_fiddle_pinned();
-#ifdef FIDDLE_MEMORY_VIEW
+#ifdef HAVE_RUBY_MEMORY_VIEW_H
Init_fiddle_memory_view();
#endif
}
/* vim: set noet sws=4 sw=4: */