Skip to content

Commit

Permalink
Fixed Windows 10 version detection for the latest Windows 10 pre-rele…
Browse files Browse the repository at this point in the history
…ase build.
  • Loading branch information
lordmulder committed Jan 31, 2015
1 parent d4d0882 commit bca0d56
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =
Expand Down

0 comments on commit bca0d56

Please sign in to comment.