mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and
NI_MAXHOST only if they are not defined yet. This fixes build such platforms as OpenBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									b18e1a0b4a
								
							
						
					
					
						commit
						b491d7a64f
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Tue Dec 31 20:16:37 2002  Akinori MUSHA  <knu@iDaemons.org>
 | 
			
		||||
 | 
			
		||||
	* ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and
 | 
			
		||||
	  NI_MAXHOST only if they are not defined yet.  This fixes build
 | 
			
		||||
	  such platforms as OpenBSD.
 | 
			
		||||
 | 
			
		||||
Tue Dec 31 20:07:49 2002  Akinori MUSHA  <knu@iDaemons.org>
 | 
			
		||||
 | 
			
		||||
	* ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -115,8 +115,10 @@
 | 
			
		|||
/*
 | 
			
		||||
 * Constants for getnameinfo()
 | 
			
		||||
 */
 | 
			
		||||
#ifndef NI_MAXHOST
 | 
			
		||||
#define	NI_MAXHOST	1025
 | 
			
		||||
#define	NI_MAXSERV	32
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Flag values for getnameinfo()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue