summaryrefslogtreecommitdiff
path: root/canvas/Library_gdipluscanvas.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-04 18:38:59 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-04 18:39:53 +0100
commit52394ea0f992755fc289b3385ed90e5a43360e57 (patch)
treeccbb52777449dbcfc9390e260f4f512983df4b3c /canvas/Library_gdipluscanvas.mk
parent7cfb7a449765e774d24dd242629d5742dc87d675 (diff)
canvas: work around NOMINMAX windows breakage
Diffstat (limited to 'canvas/Library_gdipluscanvas.mk')
-rw-r--r--canvas/Library_gdipluscanvas.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/canvas/Library_gdipluscanvas.mk b/canvas/Library_gdipluscanvas.mk
index 93b08c860f1e..7531d75d9969 100644
--- a/canvas/Library_gdipluscanvas.mk
+++ b/canvas/Library_gdipluscanvas.mk
@@ -40,8 +40,10 @@ $(eval $(call gb_Library_add_api,gdipluscanvas,\
udkapi \
))
+# clear NOMINMAX because GdiplusTypes.h uses those macros :(
$(eval $(call gb_Library_add_defs,gdipluscanvas,\
-DDIRECTX_VERSION=0x0900 \
+ -UNOMINMAX \
))
ifneq ($(strip $(VERBOSE)$(verbose)),)