Use std::min/max instead of the Windows macros.

TRAC #11024

* Define NOMINMAX so that the Windows headers don't define min or max.
* Use std::min/std::max where we were using the min/max macros.

Signed-off-by: Daniel Koch

Author:    Andrew Lewycky <andrew.lewycky@transgaming.com>

git-svn-id: https://angleproject.googlecode.com/svn/trunk@10 736b8ea6-26fd-11df-bfd4-992fa37f6226
5 files changed