mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									247ec65a6c
								
							
						
					
					
						commit
						eac50243c9
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								thread.c
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								thread.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -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)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue