From 48fdd10f4d66372e9b01b2c34ba5ccd953201f7d Mon Sep 17 00:00:00 2001 From: Liam Devine Date: Sat, 12 Mar 2011 21:11:59 +0000 Subject: [PATCH] renamed host.is_64bit to host.is64bit renamed host.windows_version to host.windowsversion --- CHANGES.txt | 3 ++- src/base/host.lua | 2 +- src/host/premake.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 95190a95..faddecee 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,7 +7,8 @@ * Patch 2963313: Enable setting .NET framework version (Justen Hyde) * Switched PS3 builds from GCC to SNC * Ignore NoRTTI flag for Managed C++ projects (Nick Darnell) -* Added host.is_64bit +* Added host.is64bit +* Added host.windowsversion ------- diff --git a/src/base/host.lua b/src/base/host.lua index 3c2018f4..9544a4ed 100755 --- a/src/base/host.lua +++ b/src/base/host.lua @@ -51,7 +51,7 @@ local function macosx_is_64_bit() return false end -host.is_64bit = function() +host.is64bit = function() local host_os = _OS if host_os == 'linux' or host_os == 'bsd' or host_os == 'solaris' or host_os == 'haiku' then diff --git a/src/host/premake.c b/src/host/premake.c index 1adceaa1..8fc72404 100755 --- a/src/host/premake.c +++ b/src/host/premake.c @@ -59,7 +59,7 @@ static const luaL_Reg string_functions[] = { static const luaL_Reg host_functions[] = { { "windows_is_64bit_running_under_wow", windows_is_64bit_running_under_wow }, - { "windows_version",windows_version}, + { "windowsversion",windows_version}, { NULL, NULL } };