diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-05 15:52:13 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-05 15:52:29 +0100 |
commit | 7d8cf47d62ca380d4b25c5c92e68ad25b951b06e (patch) | |
tree | 2b3e5ea1492cceea7a5cdd027b0286770b48945e /sd/source/ui | |
parent | 743a4bf7f86d957412944fefbe694fe429f82463 (diff) |
sd: fix non-WNT build
Change-Id: I187c4d1bef306ec05985cd6e8072d044e12a993f
Diffstat (limited to 'sd/source/ui')
-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 32e9afb88f15..9ce33ae98e47 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 _WIN32_WINNT >= _WIN32_WINNT_VISTA +#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_VISTA IN_ADDR addr; OUString const saddr("239.0.0.1"); INT ret = InetPtonW(AF_INET, saddr.getStr(), & addr); |