Itseez/opencv — pull request #1911 by apavlenko (2013-12-03 09:19:39+00:00)
Title: fixing build of 2.4 branch with VC12 (aka 2013)

master branch was fixed before, no need to merge this to master!
- disable openexr (numerous undefined std::min & std::max)
- workaround for two compilator bugs