summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-05-19 17:27:48 +0900
committerMichael Stahl <mstahl@redhat.com>2017-05-22 22:00:47 +0200
commitf060adefba5f67ec20d755cf1d95d49b62686ee5 (patch)
tree60750f62584b121b78d25fbb95cbc7cd462fb041 /sd/source
parentc31bed5cd54e3db5a22d15d794d326ce9cafe146 (diff)
Test _WIN32 instead of WIN32
since the former is predefined by Visual C++ [0], but the latter is not. [0] https://msdn.microsoft.com/en-us/library/b0084kay.aspx Change-Id: I9ecb84779cbaf5f0186ef0b05da61b32293f8f2b Reviewed-on: https://gerrit.libreoffice.org/37808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index bf68261e95e1..c5ad4e20d18c 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -1307,7 +1307,7 @@ void SAL_CALL BluetoothServer::run()
mpImpl->mpConnection = nullptr;
mpImpl->mpContext = nullptr;
-#elif defined(WIN32)
+#elif defined(_WIN32)
WORD wVersionRequested;
WSADATA wsaData;