summaryrefslogtreecommitdiff
path: root/ext/fiddle/memory_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fiddle/memory_view.c')
-rw-r--r--ext/fiddle/memory_view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fiddle/memory_view.c b/ext/fiddle/memory_view.c
index c9df5fd2bd7..fa66fc2c7b2 100644
--- a/ext/fiddle/memory_view.c
+++ b/ext/fiddle/memory_view.c
@@ -1,6 +1,6 @@
#include <fiddle.h>
-#ifdef FIDDLE_MEMORY_VIEW
+#ifdef HAVE_RUBY_MEMORY_VIEW_H
#include <stdbool.h>
#include <ruby/ruby.h>
@@ -318,4 +318,4 @@ Init_fiddle_memory_view(void)
rb_define_method(rb_cMemoryView, "to_s", rb_fiddle_memview_to_s, 0);
}
-#endif /* FIDDLE_MEMORY_VIEW */
+#endif /* HAVE_RUBY_MEMORY_VIEW_H */