avoid MSVC min()/max() conflict

This commit is contained in:
Michael Davidsaver
2018-05-28 10:19:10 -07:00
parent 12e7b7864b
commit 44132be716

View File

@ -23,6 +23,9 @@ CHECK_RELEASE = YES
-include $(TOP)/../CONFIG_SITE.local -include $(TOP)/../CONFIG_SITE.local
-include $(TOP)/configure/CONFIG_SITE.local -include $(TOP)/configure/CONFIG_SITE.local
# MSVC - skip defining min()/max() macros
USR_CPPFLAGS_WIN32 += -DNOMINMAX
ifdef WITH_COVERAGE ifdef WITH_COVERAGE
USR_CPPFLAGS += --coverage USR_CPPFLAGS += --coverage
USR_LDFLAGS += --coverage USR_LDFLAGS += --coverage