diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index 50ee73667261..0defa3cba7bd 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -63,7 +63,11 @@ void BufferedStreamSocket::close() { if( usingCSocket ) { +#ifdef WIN32 + ::closesocket( mSocket ); +#else ::close( mSocket ); +#endif mSocket = -1; } else |