From 361292bd234b1c615125b3e0fb684233d8ff9d3f Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 25 Aug 2008 22:10:47 +0000 Subject: (svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet --- src/network/core/os_abstraction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/core') diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index 914c152fe..481f8ff33 100644 --- 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) -- cgit v1.2.3-70-g09d2