diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/screen_xywh.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/screen_xywh.cxx b/src/screen_xywh.cxx index c967394fe..dd4b8ff5f 100644 --- a/src/screen_xywh.cxx +++ b/src/screen_xywh.cxx @@ -34,7 +34,13 @@ // Number of screens... static int num_screens = 0; -#ifdef WIN32 +#ifdef WIN32
+
+#if !defined(HMONITOR_DECLARED) && (_WIN32_WINNT < 0x0500)
+#define COMPILE_MULTIMON_STUBS
+#include <multimon.h>
+#endif
+ static RECT screens[16]; static BOOL CALLBACK screen_cb(HMONITOR mon, HDC, LPRECT, LPARAM) { |
