mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* error.c (rb_bug): existance of _set_abort_behavior() depends on
runtime version, not compiler version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									3ccd6c0aab
								
							
						
					
					
						commit
						de26eababa
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Wed Jun 16 15:40:53 2010  NAKAMURA Usaku  <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* error.c (rb_bug): existance of _set_abort_behavior() depends on
 | 
			
		||||
	  runtime version, not compiler version.
 | 
			
		||||
 | 
			
		||||
Wed Jun 16 01:38:40 2010  Yusuke Endoh  <mame@tsg.ne.jp>
 | 
			
		||||
 | 
			
		||||
	* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								error.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								error.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -246,7 +246,7 @@ rb_bug(const char *fmt, ...)
 | 
			
		|||
    report_bug(rb_sourcefile(), rb_sourceline(), fmt, args);
 | 
			
		||||
    va_end(args);
 | 
			
		||||
 | 
			
		||||
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400
 | 
			
		||||
#if defined(_WIN32) && defined(RT_VER) && RT_VER >= 80
 | 
			
		||||
    _set_abort_behavior( 0, _CALL_REPORTFAULT);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue