diff options
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index b29ce38d926b..f177d86509e5 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -29,7 +29,7 @@ #include "BufferedStreamSocket.hxx" #endif -#ifdef WIN32 +#ifdef _WIN32 // LO vs WinAPI conflict #undef WB_LEFT #undef WB_RIGHT 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 ); diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index 4fa31fbfe659..b545d8debc71 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -20,7 +20,7 @@ #include "DiscoveryService.hxx" -#ifdef WIN32 +#ifdef _WIN32 // LO vs WinAPI conflict #undef WB_LEFT #undef WB_RIGHT @@ -91,7 +91,7 @@ void DiscoveryService::setupSockets() zService = new AvahiNetworkService(hostname); #endif -#ifdef WIN32 +#ifdef _WIN32 zService = new WINNetworkService(); #endif |