From 907512c3a50e814be5e98e42a1e645bfb960fbb2 Mon Sep 17 00:00:00 2001 From: Liam Devine Date: Sat, 12 Mar 2011 17:03:10 +0000 Subject: added define _CRT_SECURE_NO_DEPRECATE for visual studio build in premake4.lua. Old versions of vs2005 use this define. added host.c for detecting if the process is running under wow, uses code provided on msdn where we lookup the function at runtime, which fails gracefully if a 32 bit machine. add host.is_64bit function in host.lua --- premake4.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'premake4.lua') diff --git a/premake4.lua b/premake4.lua index 1646731..57de46a 100644 --- a/premake4.lua +++ b/premake4.lua @@ -48,6 +48,9 @@ configuration "vs*" defines { "_CRT_SECURE_NO_WARNINGS" } + + configuration "vs2005" + defines {"_CRT_SECURE_NO_DEPRECATE" } configuration "linux" defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" } -- cgit v1.2.3