summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-10-11 09:44:46 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2018-10-11 19:00:51 +0200
commit04eb39a9829cf40974b82f9c44abf51d51d2685d (patch)
tree922146e01ca10bcd9aea49572bc0fe711b0c47dd /odk
parentb0bed2457ffd74f772aec6d5fc76862822f79bbe (diff)
Restore explicit _WIN32_WINVER in the ODK example
Change-Id: I01855c37955dcae13dbb3c6f028d4030dc48945a Reviewed-on: https://gerrit.libreoffice.org/61657 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/OLE/activex/StdAfx2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/odk/examples/OLE/activex/StdAfx2.h b/odk/examples/OLE/activex/StdAfx2.h
index 1d6c6ddfd074..df14ccf949a0 100644
--- a/odk/examples/OLE/activex/StdAfx2.h
+++ b/odk/examples/OLE/activex/StdAfx2.h
@@ -41,6 +41,9 @@
#define INCLUDED_EXAMPLES_ACTIVEX_STDAFX2_H
#define STRICT
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0502
+#endif
#define _ATL_APARTMENT_THREADED
#define _ATL_STATIC_REGISTRY