diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-07-18 12:41:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-04 13:04:12 +0000 |
commit | cf189245a86d3ece62ad0f7eb18a5aff719ef0b1 (patch) | |
tree | 2e4130e58070328ba99922dc0dc49afbb4a1bc26 /canvas | |
parent | 195caf1f600fe07a1549636103c91b46050eb259 (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>
Reviewed-on: https://gerrit.libreoffice.org/6125
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_winstuff.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx index 34f36c855984..bed64145b5f9 100644 --- a/canvas/source/directx/dx_winstuff.hxx +++ b/canvas/source/directx/dx_winstuff.hxx @@ -72,7 +72,7 @@ typedef IDirectDrawSurface surface_type; -#elif WIN8_SDK == 1 //Windows 8 SDK +#elif WIN8_SDK == 1 || defined(_USING_V110_SDK71_) #include <d3d9.h> |