Kaydet (Commit) 52394ea0 authored tarafından Michael Stahl's avatar Michael Stahl

canvas: work around NOMINMAX windows breakage

üst 7cfb7a44
......@@ -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,\
......
......@@ -40,8 +40,10 @@ $(eval $(call gb_Library_add_api,directx9canvas,\
udkapi \
))
# clear NOMINMAX because GdiplusTypes.h uses those macros :(
$(eval $(call gb_Library_add_defs,directx9canvas,\
-DDIRECTX_VERSION=0x0900 \
-UNOMINMAX \
))
$(eval $(call gb_Library_add_linked_libs,directx9canvas,\
......
......@@ -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)),)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment