Building with WDL_NO_DEFINE_MINMAX defined on OSX is broken since ce641d4f5b0de0b20daf254998b55a0ec1a20c93 because it tries to use the min macro which is undeclared.
This commit fixes this by using wdl_min instead.
Using WDL_NO_DEFINE_MINMAX prevents "macro min is incompatible with C++" warnings when including (directly or indirectly) <limits> from Apple's standard library.
Building with WDL_NO_DEFINE_MINMAX defined on OSX is broken since ce641d4f5b0de0b20daf254998b55a0ec1a20c93 because it tries to use the
min
macro which is undeclared.This commit fixes this by using
wdl_min
instead.Using WDL_NO_DEFINE_MINMAX prevents "macro min is incompatible with C++" warnings when including (directly or indirectly)
<limits>
from Apple's standard library.