mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-01-09 14:11:34 +00:00
mingw: pick min/max from the std:: namespace
This commit is contained in:
parent
5e55cc27b2
commit
fa68400fb4
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user