# HG changeset patch # User smatz # Date 2008-08-25 22:10:47 # Node ID 4ae2ad957aeb9ab6726a9d36c8d8d241060f67f4 # Parent 0fde3332744e68a44308371bed03d6a907a71bc0 (svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -69,7 +69,7 @@ typedef unsigned long in_addr_t; # include # 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)