Changeset - r10018:4ae2ad957aeb
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-08-25 22:10:47
smatz@openttd.org
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/core/os_abstraction.h
Show inline comments
 
@@ -66,13 +66,13 @@ typedef unsigned long in_addr_t;
 
/* If for any reason ifaddrs.h does not exist on your system, comment out
 
 *   the following two lines and an alternative way will be used to fetch
 
 *   the list of IPs from the system. */
 
#			include <ifaddrs.h>
 
#			define HAVE_GETIFADDRS
 
#		endif
 
#		if defined(SUNOS) || defined(__MORPHOS__) || defined(__BEOS__)
 
#		if !defined(INADDR_NONE)
 
#			define INADDR_NONE 0xffffffff
 
#		endif
 
#		if defined(__BEOS__) && !defined(BEOS_NET_SERVER)
 
			/* needed on Zeta */
 
#			include <sys/sockio.h>
 
#		endif
0 comments (0 inline, 0 general)