diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 21:03:13 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 21:03:13 +0000 |
commit | eac50243c94cdeb3ab5016d3cd42c51d71e2d3aa (patch) | |
tree | 6a5ea4249f21f93c5b45e608a42805fcfc3e7601 /thread.c | |
parent | 247ec65a6c1cba324012053a9bc6f95c5cc66c0d (diff) |
thread.c: remove redundant USE_SIGALTSTACK #define
thread.c already includes vm_core.h where USE_SIGALTSTACK is
defined, #include it explicitly (eval_intern.h already includes
it)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -73,6 +73,7 @@ #include "ruby/debug.h" #include "internal.h" #include "iseq.h" +#include "vm_core.h" #ifndef USE_NATIVE_THREAD_PRIORITY #define USE_NATIVE_THREAD_PRIORITY 0 @@ -2243,10 +2244,6 @@ rb_threadptr_signal_exit(rb_thread_t *th) rb_threadptr_raise(th->vm->main_thread, 2, argv); } -#if defined(POSIX_SIGNAL) && defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) -#define USE_SIGALTSTACK -#endif - int rb_ec_set_raised(rb_execution_context_t *ec) { |