mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* signal.c (ruby_signal): must define sighandler_t unless
POSIX_SIGNAL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									59d3fd1832
								
							
						
					
					
						commit
						68f6704478
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -1,3 +1,8 @@ | |||
| Mon Jan 21 22:57:18 2002  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp> | ||||
| 
 | ||||
| 	* signal.c (ruby_signal): must define sighandler_t unless | ||||
| 	  POSIX_SIGNAL. | ||||
| 
 | ||||
| Mon Jan 21 08:25:30 2002  Yukihiro Matsumoto  <matz@ruby-lang.org> | ||||
| 
 | ||||
| 	* eval.c (ruby_stop): should not trace error handler. | ||||
|  |  | |||
							
								
								
									
										2
									
								
								signal.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								signal.c
									
										
									
									
									
								
							|  | @ -281,9 +281,9 @@ rb_gc_mark_trap_list() | |||
| #endif /* MACOS_UNUSE_SIGNAL */ | ||||
| } | ||||
| 
 | ||||
| #ifdef POSIX_SIGNAL | ||||
| typedef RETSIGTYPE (*sighandler_t)_((int)); | ||||
| 
 | ||||
| #ifdef POSIX_SIGNAL | ||||
| static sighandler_t | ||||
| ruby_signal(signum, handler) | ||||
|     int signum; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu