summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/Library_emboleobj.mk4
-rw-r--r--embeddedobj/source/msole/platform.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/embeddedobj/Library_emboleobj.mk b/embeddedobj/Library_emboleobj.mk
index 3d415f40f2d2..96f03ee16ca5 100644
--- a/embeddedobj/Library_emboleobj.mk
+++ b/embeddedobj/Library_emboleobj.mk
@@ -17,6 +17,10 @@ $(eval $(call gb_Library_set_include,emboleobj,\
$$(INCLUDE) \
))
+$(eval $(call gb_Library_add_defs,emboleobj,\
+ -D_WIN32_WINNT=0x0502 \
+))
+
$(eval $(call gb_Library_use_external,emboleobj,boost_headers))
$(eval $(call gb_Library_use_sdk_api,emboleobj))
diff --git a/embeddedobj/source/msole/platform.h b/embeddedobj/source/msole/platform.h
index 2a8c1172b3c0..56c21a21d8cc 100644
--- a/embeddedobj/source/msole/platform.h
+++ b/embeddedobj/source/msole/platform.h
@@ -21,9 +21,6 @@
#define _PLATFORM_H_
#define STRICT
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0400
-#endif
#define _ATL_APARTMENT_THREADED
#if defined _MSC_VER