summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/remotecontrol/BufferedStreamSocket.cxx')
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index 3346c856f095..d628396df347 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
@@ -11,7 +11,7 @@
#include <algorithm>
-#ifdef WIN32
+#ifdef _WIN32
// LO vs WinAPI conflict
#undef WB_LEFT
#undef WB_RIGHT
@@ -70,7 +70,7 @@ void BufferedStreamSocket::close()
{
if( usingCSocket && mSocket != -1 )
{
-#ifdef WIN32
+#ifdef _WIN32
::closesocket( mSocket );
#else
::close( mSocket );