summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-05-30 16:42:28 +0200
committerMichael Stahl <mstahl@redhat.com>2017-05-30 20:19:21 +0200
commit5158c16a9ef23ab610940eb51e2fead13a7b0456 (patch)
tree241c6ab99e6490b4978ae83ab8d4850d1a4a4fc8 /sd
parentfpicker: global default _WIN32_WINNT is sufficient now (diff)
downloadcore-5158c16a9ef23ab610940eb51e2fead13a7b0456.tar.gz
core-5158c16a9ef23ab610940eb51e2fead13a7b0456.zip
sal,sd: remove deprecated Windows XP socket code
Change-Id: I220911496ed2734224b1eb96a929ec8d8bf2a3ef
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx2
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)