summaryrefslogtreecommitdiffstats
path: root/extensions/source/ole/unoobjw.cxx
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2012-10-25 21:02:50 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-28 18:09:02 +0000
commit9e716494a8f7a1ffbfd519ffc388df0226f4046f (patch)
tree99e4fdb269c6d0ea2d8082b88fabc59713062b28 /extensions/source/ole/unoobjw.cxx
parentfixup gbuildified mythes (diff)
downloadcore-9e716494a8f7a1ffbfd519ffc388df0226f4046f.tar.gz
core-9e716494a8f7a1ffbfd519ffc388df0226f4046f.zip
fix some VS 2010 specific issues
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'extensions/source/ole/unoobjw.cxx')
-rw-r--r--extensions/source/ole/unoobjw.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index df9675c8cd75..4b4785a87169 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -27,6 +27,10 @@
************************************************************************/
+// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
+#define _WIN32_WINNT 0x403
+
+
#include "ole2uno.hxx"
#include <stdio.h>
#include <tools/presys.h>