Avoid a warning shown since bumping Windows baseline
This is shown now, since commit b664c08a6d
(Drop support for Windows versions prior to Windows 10, 2024-12-07):
Change your target platform to Windows 7 or below if your application
requires backward compatibility for the ADO interface.
Change-Id: Ic95a0819440b958cc3e01bbc2ffe91d7495bb8fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178406
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -28,6 +28,7 @@ $(eval $(call gb_CppunitTest_use_sdk_api,connectivity_ado))
|
||||
ifeq ($(COM),GCC)
|
||||
$(eval $(call gb_CppunitTest_add_cxxflags,connectivity_ado,\
|
||||
-fpermissive \
|
||||
-DADO_SUPPRESS_MESSAGE \
|
||||
))
|
||||
endif
|
||||
|
||||
|
||||
@@ -58,6 +58,12 @@ $(eval $(call gb_Library_use_libraries,dbu,\
|
||||
vcl \
|
||||
))
|
||||
|
||||
ifeq ($(COM),MSC)
|
||||
$(eval $(call gb_Library_add_cxxflags,dbu,\
|
||||
-DADO_SUPPRESS_MESSAGE \
|
||||
))
|
||||
endif
|
||||
|
||||
ifeq ($(OS),WNT)
|
||||
$(eval $(call gb_Library_use_system_win32_libs,dbu,\
|
||||
ole32 \
|
||||
|
||||
Reference in New Issue
Block a user