diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/Library_sd.mk | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk index 6390e1135f38..449b761faa0c 100644 --- a/sd/Library_sd.mk +++ b/sd/Library_sd.mk @@ -534,6 +534,7 @@ $(eval $(call gb_Library_add_exception_objects,sd,\ $(eval $(call gb_Library_add_defs,sd,\ -DENABLE_SDREMOTE_BLUETOOTH \ + $(if $(filter MSC,$(COM)),-UMSC) \ )) endif diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 9ba9badc46ca..63be65e6577b 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -28,7 +28,6 @@ #endif #ifdef WIN32 - #undef MSC // Unset a legacy define, as otherwise ws2bth.h breaks #include <winsock2.h> #include <ws2bth.h> #endif |