Commit 616c8383 authored by Max Kellermann's avatar Max Kellermann

net/IPv4Address: check _WIN32 instead of WIN32

parent 5de46268
......@@ -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 }}};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment