(svn r15993) -Codechange: clean up/generalise the handling of the server list

This commit is contained in:
rubidium
2009-04-08 23:41:48 +00:00
parent c2dbc8270b
commit 882e495f5c
3 changed files with 26 additions and 19 deletions

View File

@@ -289,6 +289,10 @@ static inline bool SetNoDelay(SOCKET d)
#endif
}
/* Make sure these structures have the size we expect them to be */
assert_compile(sizeof(in_addr) == 4);
assert_compile(sizeof(in6_addr) == 16);
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_CORE_OS_ABSTRACTION_H */