diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-11 16:01:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 15:07:21 +0100 |
commit | 2f59f936fe521cf078aad88149d1f133cfd3deed (patch) | |
tree | f8eca1caee1fbc262ac04f02fdc0588b73467c0e /sal | |
parent | bf35ea1dea48cfc5617e116c1f638f787f349855 (diff) |
-Werror,-Wunused-function
Change-Id: Ic12b2914b4f39a96d1455dc280c97d64639b9849
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/socket.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 636bfce0ecbf..927da21c8844 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -714,6 +714,7 @@ struct oslHostAddrImpl { oslSocketAddr pSockAddr; } ; +#if _WIN32_WINNT < _WIN32_WINNT_VISTA static oslHostAddr __osl_hostentToHostAddr (const struct hostent *he) { oslHostAddr pAddr= NULL; @@ -773,6 +774,7 @@ static oslHostAddr __osl_hostentToHostAddr (const struct hostent *he) return pAddr; } +#endif /*****************************************************************************/ /* osl_createHostAddr */ |