mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 1dea192775
			
		
	
	
		1dea192775
		
	
	
	
	
		
			
			r33876. [ruby-core:41475] [Bug #5706] * ext/socket/extconf.rb: the alternative hack for [Bug #5675]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef RUBY_SUBST_H
 | |
| #define RUBY_SUBST_H 1
 | |
| 
 | |
| #undef snprintf
 | |
| #undef vsnprintf
 | |
| #define snprintf ruby_snprintf
 | |
| #define vsnprintf ruby_vsnprintf
 | |
| 
 | |
| #ifdef BROKEN_CLOSE
 | |
| #undef getpeername
 | |
| #define getpeername ruby_getpeername
 | |
| #undef getsockname
 | |
| #define getsockname ruby_getsockname
 | |
| #undef shutdown
 | |
| #define shutdown ruby_shutdown
 | |
| #undef close
 | |
| #define close ruby_close
 | |
| #endif
 | |
| #endif
 |