1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Correct condition of r39302

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-02-18 21:46:00 +00:00
parent 52b0181306
commit 10103e8cc7

View file

@ -424,18 +424,18 @@ rb_vmdebug_thread_dump_state(VALUE self)
return Qnil;
}
#ifndef HAVE_BACKTRACE
#define HAVE_BACKTRACE 0
#endif
#ifdef BROKEN_BACKTRACE
# undef HAVE_BACKTRACE
#if defined(HAVE_BACKTRACE)
# if HAVE_LIBUNWIND
# undef backtrace
# define backtrace unw_backtrace
# elif defined(BROKEN_BACKTRACE)
# undef HAVE_BACKTRACE
# define HAVE_BACKTRACE 0
# endif
#else
# define HAVE_BACKTRACE 0
#endif
#if HAVE_LIBUNWIND
# define HAVE_BACKTRACE 1
# undef backtrace
# define backtrace unw_backtrace
#endif
#if HAVE_BACKTRACE
# include <execinfo.h>
#elif defined(_WIN32)