summaryrefslogtreecommitdiff
path: root/canvas/Library_directx5canvas.mk
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/Library_directx5canvas.mk')
-rw-r--r--canvas/Library_directx5canvas.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/canvas/Library_directx5canvas.mk b/canvas/Library_directx5canvas.mk
index b531a8446b7e..13e24676d62b 100644
--- a/canvas/Library_directx5canvas.mk
+++ b/canvas/Library_directx5canvas.mk
@@ -40,8 +40,11 @@ $(eval $(call gb_Library_add_api,directx5canvas,\
offapi \
udkapi \
))
+
+# clear NOMINMAX because GdiplusTypes.h uses those macros :(
$(eval $(call gb_Library_add_defs,directx5canvas,\
-DDIRECTX_VERSION=0x0500 \
+ -UNOMINMAX \
))
$(eval $(call gb_Library_add_linked_libs,directx5canvas,\