summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 04:04:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-03 04:04:02 +0000
commited52fa6ef9281617c0af80c4acddc28065fd3df8 (patch)
tree8972850684e54e8cc92402616228704c5b507f2e /ext
parentaaed10716a55d659309a8636a41a8e159347a32c (diff)
tcltklib.c: revert RUBY_UNTYPED_DATA_WARNING
* ext/tk/tcltklib.c (RUBY_UNTYPED_DATA_WARNING): Data_Get_Struct is not affected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/tk/tcltklib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index 0798d0b24d..2d45f7511b 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -20,11 +20,7 @@
#endif
#undef RUBY_UNTYPED_DATA_WARNING
-#ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
-#define RUBY_UNTYPED_DATA_WARNING 1
-#else
#define RUBY_UNTYPED_DATA_WARNING 0
-#endif
#ifdef HAVE_RB_THREAD_CHECK_TRAP_PENDING
static int rb_thread_critical; /* dummy */