From 68f55c4b35a70f97c8d7ea6fde91f56a94d74f49 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 4 Sep 2014 08:50:31 +0000 Subject: * dir.c (glob_helper): use #ifdef instead of #if. gcc's -Wundef option shows warning for undefined macro. * numeric.c (flo_is_finite_p): ditto. * vm_dump.c (rb_vmdebug_thread_dump_state): ditto. * vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index 2ed3f1431b..bb2b2415c4 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -432,7 +432,7 @@ rb_vmdebug_thread_dump_state(VALUE self) } #if defined(HAVE_BACKTRACE) -# if HAVE_LIBUNWIND +# ifdef HAVE_LIBUNWIND # undef backtrace # define backtrace unw_backtrace # elif defined(__APPLE__) && defined(__x86_64__) -- cgit v1.2.3