mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* signal.c (USE_SIGALTSTACK): only when SA_SIGINFO also is
available. see [ruby-core:27768]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d5b0c4b1f3
								
							
						
					
					
						commit
						423657b42c
					
				
					 2 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Mon Jan 25 12:11:45 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* signal.c (USE_SIGALTSTACK): only when SA_SIGINFO also is
 | 
			
		||||
	  available.  see [ruby-core:27768].
 | 
			
		||||
 | 
			
		||||
Mon Jan 25 12:02:34 2010  NARUSE, Yui  <naruse@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* dln.c, file.c, io.c, signal.c: add __HAIKU__.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										9
									
								
								signal.c
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								signal.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -419,8 +419,12 @@ static struct {
 | 
			
		|||
#define sighandler_t sh_t
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO)
 | 
			
		||||
#define USE_SIGALTSTACK
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef RETSIGTYPE (*sighandler_t)(int);
 | 
			
		||||
#if defined SA_SIGINFO && !defined __SYMBIAN32__
 | 
			
		||||
#ifdef USE_SIGALTSTACK
 | 
			
		||||
typedef void ruby_sigaction_t(int, siginfo_t*, void*);
 | 
			
		||||
#define SIGINFO_ARG , siginfo_t *info, void *ctx
 | 
			
		||||
#else
 | 
			
		||||
| 
						 | 
				
			
			@ -429,9 +433,6 @@ typedef RETSIGTYPE ruby_sigaction_t(int);
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef POSIX_SIGNAL
 | 
			
		||||
#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK)
 | 
			
		||||
#define USE_SIGALTSTACK
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef USE_SIGALTSTACK
 | 
			
		||||
#ifdef SIGSTKSZ
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue