summaryrefslogtreecommitdiffstats
path: root/extensions/test/ole/cppToUno/testcppuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/test/ole/cppToUno/testcppuno.cxx')
-rw-r--r--extensions/test/ole/cppToUno/testcppuno.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/test/ole/cppToUno/testcppuno.cxx b/extensions/test/ole/cppToUno/testcppuno.cxx
index 192523d3412c..0b06d694cde3 100644
--- a/extensions/test/ole/cppToUno/testcppuno.cxx
+++ b/extensions/test/ole/cppToUno/testcppuno.cxx
@@ -19,6 +19,9 @@
#pragma warning(disable: 4917)
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#include <comdef.h>
#include <tchar.h>