diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/IPv4Address.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/IPv4Address.hxx b/src/net/IPv4Address.hxx index 1dafdcb8a..d7344cede 100644 --- a/src/net/IPv4Address.hxx +++ b/src/net/IPv4Address.hxx @@ -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 }}}; |