diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowWin32.h')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h index 9e4377b8225..f095de2346d 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.h @@ -40,7 +40,13 @@ #include "GHOST_Window.h" #include "GHOST_TaskbarWin32.h" -#define _WIN32_WINNT 0x501 // require Windows XP or newer +// Windows dependency for system touch, replace later? +#ifdef WITH_INPUT_TOUCH +# define _WIN32_WINNT 0x0601 // require Windows 7 or newer +#else +# define _WIN32_WINNT 0x501 // require Windows XP or newer +#endif + #define WIN32_LEAN_AND_MEAN #include <windows.h> |