From c47b523246c9e3364640f741f642b053f3515653 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 28 Sep 2014 15:27:24 +0000 Subject: ruby.h: warn untyped Data * include/ruby/ruby.h (rb_data_object_alloc_warning): warn Data_Wrap_Struct and Data_Make_Struct only if RUBY_UNTYPED_DATA_WARNING is set to 1. * include/ruby/ruby.h (rb_data_object_get_warning): ditto for Data_Get_Struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index 26fd0bcc0b..8e197c7381 100644 --- a/marshal.c +++ b/marshal.c @@ -28,8 +28,6 @@ #include #endif -#undef rb_data_object_alloc - #define BITSPERSHORT (2*CHAR_BIT) #define SHORTMASK ((1<