diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-19 23:16:06 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-03-01 12:57:30 +0100 |
commit | fa68400fb4cd2e77e89ab429231e1acd56fa08c5 (patch) | |
tree | 4924e2d503f8779bf1e3c0c7d76be244c85d7f2c | |
parent | 5e55cc27b20bf8c00f0a85b94b615b13e528932c (diff) |
mingw: pick min/max from the std:: namespace
-rw-r--r-- | vdagent/desktop_layout.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vdagent/desktop_layout.cpp b/vdagent/desktop_layout.cpp index f880fd3..b5295c1 100644 --- a/vdagent/desktop_layout.cpp +++ b/vdagent/desktop_layout.cpp @@ -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; |