net/IPv4Address: check _WIN32 instead of WIN32
This commit is contained in:
parent
5de46268af
commit
616c8383c0
@ -48,7 +48,7 @@
|
||||
class IPv4Address {
|
||||
struct sockaddr_in address;
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
static constexpr struct in_addr ConstructInAddr(uint8_t a, uint8_t b,
|
||||
uint8_t c, uint8_t d) noexcept {
|
||||
return {{{ a, b, c, d }}};
|
||||
|
Loading…
Reference in New Issue
Block a user