diff options
author | Liam Devine <dmail00@gmail.com> | 2011-03-12 20:03:10 +0300 |
---|---|---|
committer | Liam Devine <dmail00@gmail.com> | 2011-03-12 20:03:10 +0300 |
commit | 907512c3a50e814be5e98e42a1e645bfb960fbb2 (patch) | |
tree | 350af0783e19e2443d5925a8784ca915c2e3a8b9 /premake4.lua | |
parent | cf3584d6492afe6d6fff80cd5a32b690d67b1f36 (diff) |
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
Diffstat (limited to 'premake4.lua')
-rw-r--r-- | premake4.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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" } |