summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-08-25 22:10:47 +0000
committersmatz <smatz@openttd.org>2008-08-25 22:10:47 +0000
commiteeaeecd25518b227d6ef2c637dbadf2d979ed2e8 (patch)
tree1fafd8b8f8291a7adc658573c2c9163150dc42b8
parent6074de33d0de12514fa747bcec30beb8bd3c2b66 (diff)
downloadopenttd-eeaeecd25518b227d6ef2c637dbadf2d979ed2e8.tar.xz
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
-rw-r--r--src/network/core/os_abstraction.h2
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)