diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-01-04 18:38:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-04 18:39:53 +0100 |
commit | 52394ea0f992755fc289b3385ed90e5a43360e57 (patch) | |
tree | ccbb52777449dbcfc9390e260f4f512983df4b3c /canvas/Library_gdipluscanvas.mk | |
parent | 7cfb7a449765e774d24dd242629d5742dc87d675 (diff) |
canvas: work around NOMINMAX windows breakage
Diffstat (limited to 'canvas/Library_gdipluscanvas.mk')
-rw-r--r-- | canvas/Library_gdipluscanvas.mk | 2 |
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)),) |