X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fos_win32.h;h=6f92b90abbd28ddca89fe1fe6b9e1816208525d7;hb=cf14e814124ccbc8155fa1dde98d03be319c0e87;hp=bf748f629ae4d956578b981788d6482c30ae9044;hpb=77b9dbd5570e9da3cf7644f93de821b58d97368b;p=lyx.git diff --git a/src/support/os_win32.h b/src/support/os_win32.h index bf748f629a..6f92b90abb 100644 --- a/src/support/os_win32.h +++ b/src/support/os_win32.h @@ -35,14 +35,19 @@ * Note: __CYGWIN__ can be defined here if building in _WIN32 mode. */ #if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__CYGWIN32__) -# if defined(WINVER) && WINVER < 0x0500 -# error WINVER must be >= 0x0500 +# if defined(WINVER) +# if WINVER < 0x0600 +# error WINVER must be >= 0x0600 +# endif +# else +# define WINVER 0x0600 # endif -# define WINVER 0x0500 -# define _WIN32_IE 0x0500 +# define _WIN32_IE 0x0600 #endif #include +#include +#include namespace lyx {