summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/Library_sellangmsi.mk1
-rw-r--r--setup_native/source/win32/customactions/sellang/sellang.cxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/Library_sellangmsi.mk b/setup_native/Library_sellangmsi.mk
index 204e22f2ac51..3f8947f71772 100644
--- a/setup_native/Library_sellangmsi.mk
+++ b/setup_native/Library_sellangmsi.mk
@@ -16,7 +16,6 @@ $(eval $(call gb_Library_use_custom_headers,sellangmsi,\
$(eval $(call gb_Library_add_defs,sellangmsi,\
-U_DLL \
-D_WIN32_WINNT=0x0502 \
- -DWIN32_LEAN_AND_MEAN \
))
$(eval $(call gb_Library_add_cxxflags,sellangmsi,\
diff --git a/setup_native/source/win32/customactions/sellang/sellang.cxx b/setup_native/source/win32/customactions/sellang/sellang.cxx
index 46b500b4b5cb..e9c4c5781d94 100644
--- a/setup_native/source/win32/customactions/sellang/sellang.cxx
+++ b/setup_native/source/win32/customactions/sellang/sellang.cxx
@@ -22,6 +22,7 @@
*/
#define MAX_LANGUAGES 200
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <msiquery.h>
#include <malloc.h>