Kaydet (Commit) 7d8cf47d authored tarafından Michael Stahl's avatar Michael Stahl

sd: fix non-WNT build

Change-Id: I187c4d1bef306ec05985cd6e8072d044e12a993f
üst 743a4bf7
......@@ -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);
......
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