diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-30 16:42:28 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-30 20:19:21 +0200 |
commit | 5158c16a9ef23ab610940eb51e2fead13a7b0456 (patch) | |
tree | 241c6ab99e6490b4978ae83ab8d4850d1a4a4fc8 /sd | |
parent | e687c1e3e35d65c7d21a4d243087adfd6b4ea9ef (diff) |
sal,sd: remove deprecated Windows XP socket code
Change-Id: I220911496ed2734224b1eb96a929ec8d8bf2a3ef
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index 048b9bcea31e..97cccf70c575 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -123,7 +123,7 @@ void DiscoveryService::setupSockets() struct ip_mreq multicastRequest; // the Win32 SDK 8.1 deprecates inet_addr() -#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_VISTA +#if defined(_WIN32) IN_ADDR addr; INT ret = InetPtonW(AF_INET, L"239.0.0.1", & addr); if (1 == ret) |