diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-07-18 12:41:08 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-07-19 08:04:11 +0000 |
commit | f351c1399313aab9533bd9b0451a1e7fd76e2204 (patch) | |
tree | 6cf4d788b8d0bfaccc1ac188aa619c5ebb41b0cd /canvas | |
parent | d739440d434e3c2caf02a241d9cde2610d5df1b4 (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 '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> |