MAPVK_VK_TO_VSC is defined in the file: <path-to-mingw-sys-root>/mingw/include/winuser.h In older mingw-headers the definition of MAPVK_VK_TO_VSC is defined only -- #if _WIN32_WINNT >= 0x0601 --- gtk/spice-widget.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index fcb3e87..4f2f6c4 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -32,6 +32,9 @@ #ifdef WIN32 #include <windows.h> #include <gdk/gdkwin32.h> +#ifndef MAPVK_VK_TO_VSC /* may be undefined in older mingw-headers */ +#define MAPVK_VK_TO_VSC 0 +#endif #endif #include "spice-widget.h" -- 1.7.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel