diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/Library_deploymentgui.mk | 4 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/Library_deploymentgui.mk b/desktop/Library_deploymentgui.mk index 1fb9e33f3711..2a13cc6ce3a1 100644 --- a/desktop/Library_deploymentgui.mk +++ b/desktop/Library_deploymentgui.mk @@ -42,6 +42,10 @@ $(eval $(call gb_Library_use_libraries,deploymentgui,\ ifeq ($(OS),WNT) +$(eval $(call gb_Library_add_defs,deploymentgui,\ + -D_WIN32_WINNT=0x0502 \ +)) + $(eval $(call gb_Library_use_system_win32_libs,deploymentgui,\ ole32 \ )) diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index 8b2cd3369248..706c48538160 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -17,10 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#if defined WNT -#define _WIN32_WINNT 0x0500 -#endif - #include "sal/config.h" #include <cstddef> |