1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(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 e840aabf8d
commit 361292bd23

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)