summaryrefslogtreecommitdiff
path: root/extensions
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
parent1d1bab408421030cb260d67a519d478db87bdff5 (diff)
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')
-rw-r--r--extensions/source/ole/oleobjw.cxx3
-rw-r--r--extensions/source/ole/servprov.cxx3
-rw-r--r--extensions/source/ole/servreg.cxx4
-rw-r--r--extensions/source/ole/unoobjw.cxx4
4 files changed, 14 insertions, 0 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index f77cfcca28ed..2ce5e9f7b453 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -26,6 +26,9 @@
*
************************************************************************/
+// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
+#define _WIN32_WINNT 0x0403
+
#include "ole2uno.hxx"
#include "rtl/ustrbuf.hxx"
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index c133405a0348..86e1a0076e10 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -26,6 +26,9 @@
*
************************************************************************/
+// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
+#define _WIN32_WINNT 0x0403
+
#include <vector>
diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx
index 9cd793f5ec8a..7559919d88d1 100644
--- a/extensions/source/ole/servreg.cxx
+++ b/extensions/source/ole/servreg.cxx
@@ -26,6 +26,10 @@
*
************************************************************************/
+// http://stackoverflow.com/questions/5839292/error-c1189-after-installing-visual-studio-2010
+#define _WIN32_WINNT 0x0403
+
+
#include <rtl/unload.h>
#include <osl/time.h>
#include "ole2uno.hxx"
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>