diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index 3880e731f2..3dd6c58119 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -23,6 +23,9 @@ static int rb_thread_critical; /* dummy */ #include "st.h" #endif +#undef RUBY_UNTYPED_DATA_WARNING +#define RUBY_UNTYPED_DATA_WARNING 0 + #if !defined(RHASH_TBL) #define RHASH_TBL(h) (RHASH(h)->tbl) #endif