File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/network/core/os_abstraction.h
Show inline comments
 
@@ -15,14 +15,12 @@
 

	
 
#ifndef NETWORK_CORE_OS_ABSTRACTION_H
 
#define NETWORK_CORE_OS_ABSTRACTION_H
 

	
 
/* Include standard stuff per OS */
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
/* Windows stuff */
 
#if defined(_WIN32)
 
#include <errno.h>
 
#include <winsock2.h>
 
#include <ws2tcpip.h>
 
#include <windows.h>
 
@@ -169,9 +167,7 @@ static inline bool SetNoDelay(SOCKET d)
 
}
 

	
 
/* Make sure these structures have the size we expect them to be */
 
assert_compile(sizeof(in_addr)  ==  4); ///< IPv4 addresses should be 4 bytes.
 
assert_compile(sizeof(in6_addr) == 16); ///< IPv6 addresses should be 16 bytes.
 

	
 
#endif /* ENABLE_NETWORK */
 

	
 
#endif /* NETWORK_CORE_OS_ABSTRACTION_H */