summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2013-07-18 12:41:08 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-19 08:04:11 +0000
commitf351c1399313aab9533bd9b0451a1e7fd76e2204 (patch)
tree6cf4d788b8d0bfaccc1ac188aa619c5ebb41b0cd /solenv
parentd739440d434e3c2caf02a241d9cde2610d5df1b4 (diff)
allow to build for Windows XP when using Visual Studio 2012
VS 2012 Update 1 added the possibility to target Windows XP by using a SDK that is based on the Windows 7 one. http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx This patch probably should not be integrated as is, as it disables a test that fails in this configuration (CppunitTest_connectivity_ado) Change-Id: I3ba8723882452950c40049ccdc95b04c60862cbf Reviewed-on: https://gerrit.libreoffice.org/4966 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index bb0a141a53bc..ff448f748e39 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -48,6 +48,7 @@ gb_COMPILERDEFS := \
-D_DLL \
-DCPPU_ENV=$(gb_CPPU_ENV) \
-DM1500 \
+ $(if $(findstring 110_70,$(VCVER)_$(WINDOWS_SDK_VERSION)),-D_USING_V110_SDK71_) \
ifeq ($(CPUNAME),INTEL)
gb_COMPILERDEFS += \