diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-27 13:51:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-27 13:51:45 +0200 |
commit | 32cb84f3718e96658f24ffc67c2e56386bf3f25f (patch) | |
tree | fde2d356bc1947ecfb674fd1df37dd5a6c7af661 /sd | |
parent | 9fde14ce08463b5dcf1c96d8f636903992b63183 (diff) |
Use closesocket() on Windows
Change-Id: Ie6eca5f95aab326df41f3e7ee260b84bd1bf6afd
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index 2cfa2624b598..a19cb32b228f 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -76,7 +76,11 @@ DiscoveryService::DiscoveryService() : DiscoveryService::~DiscoveryService() { +#ifdef WNT + closesocket( mSocket ); +#else close( mSocket ); +#endif } void SAL_CALL DiscoveryService::run() |