From 9e716494a8f7a1ffbfd519ffc388df0226f4046f Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Thu, 25 Oct 2012 21:02:50 +0200 Subject: fix some VS 2010 specific issues Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- extensions/source/ole/oleobjw.cxx | 3 +++ extensions/source/ole/servprov.cxx | 3 +++ extensions/source/ole/servreg.cxx | 4 ++++ extensions/source/ole/unoobjw.cxx | 4 ++++ 4 files changed, 14 insertions(+) (limited to 'extensions/source') 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 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 #include #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 #include -- cgit