]> source.dussan.org Git - tigervnc.git/commitdiff
MinGW tweak: Only define RFB_HAVE_SENDINPUT is we have MOUSEEVENTF_VIRTUALDESK.
authorPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:55:15 +0000 (10:55 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3335 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/SInput.cxx

index db59287a1d791a52a246a708d1a8e26b11633257..a8e6941c62b73703aed79b74e424f600bbaed8c2 100644 (file)
@@ -36,7 +36,7 @@
 #include <rdr/Exception.h>
 #include <rfb/LogWriter.h>
 
-#if(defined(INPUT_MOUSE) && defined(RFB_HAVE_MONITORINFO))
+#if(defined(INPUT_MOUSE) && defined(RFB_HAVE_MONITORINFO) && defined(MOUSEEVENTF_VIRTUALDESK))
 #define RFB_HAVE_SENDINPUT
 #else
 #pragma message("  NOTE: Not building SendInput support.")