Mercurial > hg > easaier-soundaccess
diff plugin/LADSPAPluginFactory.cpp @ 190:61681a2bc1e6
keep MIN and MAX compatibility (VC and linux compilation)
author | lbajardsilogic |
---|---|
date | Tue, 27 Nov 2007 13:26:04 +0000 |
parents | afcf540ae3a2 |
children |
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp Tue Nov 27 13:11:44 2007 +0000 +++ b/plugin/LADSPAPluginFactory.cpp Tue Nov 27 13:26:04 2007 +0000 @@ -154,7 +154,7 @@ minimum = lb; } else if (LADSPA_IS_HINT_BOUNDED_ABOVE(d)) { float ub = descriptor->PortRangeHints[port].UpperBound; - minimum = min(0.0, ub - 1.0); + minimum = MIN(0.0, ub - 1.0); } if (LADSPA_IS_HINT_SAMPLE_RATE(d)) {