summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-20 15:48:49 +0200
committerMax Kellermann <max@musicpd.org>2018-08-20 15:48:49 +0200
commit616c8383c0a4d59deca243437e5d8f07e03f763d (patch)
tree73a1f8f333bf50bb7e2af752043bf7f3618d4d0d /src/net
parent5de46268afc1c99aa0218779a206acb4bd25159d (diff)
net/IPv4Address: check _WIN32 instead of WIN32
Diffstat (limited to 'src/net')
-rw-r--r--src/net/IPv4Address.hxx2
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 }}};