mingw: pick min/max from the std:: namespace

This commit is contained in:
Christophe Fergeau 2012-02-19 23:16:06 +01:00
parent 5e55cc27b2
commit fa68400fb4

View File

@ -18,6 +18,11 @@
#include "desktop_layout.h"
#include "vdlog.h"
#ifdef __MINGW32__
using std::min;
using std::max;
#endif
void DisplayMode::set_res(DWORD width, DWORD height, DWORD depth)
{
_width = width;