From bca0d562e52ccc5c035747f3c0d57108b93ab7e7 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Sat, 31 Jan 2015 19:59:13 +0100 Subject: [PATCH] Fixed Windows 10 version detection for the latest Windows 10 pre-release build. --- src/global.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/global.cpp b/src/global.cpp index 9662260..5bfb0aa 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -185,15 +185,15 @@ static struct g_x264_portable; //Known Windows NT versions -const x264_os_version_t x264_winver_error = {0,0}; //N/A -const x264_os_version_t x264_winver_win2k = {5,0}; //2000 -const x264_os_version_t x264_winver_winxp = {5,1}; //XP -const x264_os_version_t x264_winver_xpx64 = {5,2}; //XP_x64 -const x264_os_version_t x264_winver_vista = {6,0}; //Vista -const x264_os_version_t x264_winver_win70 = {6,1}; //7 -const x264_os_version_t x264_winver_win80 = {6,2}; //8 -const x264_os_version_t x264_winver_win81 = {6,3}; //8.1 -const x264_os_version_t x264_winver_wn100 = {6,4}; //10 +const x264_os_version_t x264_winver_error = { 0,0}; //N/A +const x264_os_version_t x264_winver_win2k = { 5,0}; //2000 +const x264_os_version_t x264_winver_winxp = { 5,1}; //XP +const x264_os_version_t x264_winver_xpx64 = { 5,2}; //XP_x64 +const x264_os_version_t x264_winver_vista = { 6,0}; //Vista +const x264_os_version_t x264_winver_win70 = { 6,1}; //7 +const x264_os_version_t x264_winver_win80 = { 6,2}; //8 +const x264_os_version_t x264_winver_win81 = { 6,3}; //8.1 +const x264_os_version_t x264_winver_wn100 = {10,0}; //10 //Maps marketing names to the actual Windows NT versions static const x264_os_info_t x264_winver_lut[] =