diff options
author | smatz <smatz@openttd.org> | 2008-08-25 22:10:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-08-25 22:10:47 +0000 |
commit | 361292bd234b1c615125b3e0fb684233d8ff9d3f (patch) | |
tree | 1fafd8b8f8291a7adc658573c2c9163150dc42b8 | |
parent | e840aabf8da0c74a312caf22b6405f6d87403cc4 (diff) | |
download | openttd-361292bd234b1c615125b3e0fb684233d8ff9d3f.tar.xz |
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
-rw-r--r-- | src/network/core/os_abstraction.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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) |