--- vlc-3.0.4/config.h.in.orig 2018-09-30 22:47:13.297436200 +0300 +++ vlc-3.0.4/config.h.in 2018-09-30 22:47:20.793865000 +0300 @@ -8,7 +8,7 @@ #if defined(_WIN32) && !defined(_WIN32_WINNT) -# define _WIN32_WINNT 0x0502 /* Windows XP SP2 */ +# define _WIN32_WINNT 0x0601 /* Windows 7 */ #endif --- vlc-3.0.4/configure.ac.orig 2018-09-30 23:02:39.529413700 +0300 +++ vlc-3.0.4/configure.ac 2018-09-30 23:02:59.427551800 +0300 @@ -219,7 +219,7 @@ AC_CHECK_TOOL(WINDRES, windres, :) AC_CHECK_TOOL(OBJCOPY, objcopy, :) AH_TOP([#if defined(_WIN32) && !defined(_WIN32_WINNT)]) - AH_TOP([# define _WIN32_WINNT 0x0502 /* Windows XP SP2 */]) + AH_TOP([# define _WIN32_WINNT 0x0601 /* Windows 7 */]) AH_TOP([#endif]) AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE 6.0 (and shell) APIs.]) AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])