(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet

This commit is contained in:
smatz 2008-08-25 22:10:47 +00:00
parent 6074de33d0
commit eeaeecd255

View File

@ -69,7 +69,7 @@ typedef unsigned long in_addr_t;
# 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)