Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Devine <dmail00@gmail.com>2011-03-12 20:03:10 +0300
committerLiam Devine <dmail00@gmail.com>2011-03-12 20:03:10 +0300
commit907512c3a50e814be5e98e42a1e645bfb960fbb2 (patch)
tree350af0783e19e2443d5925a8784ca915c2e3a8b9 /premake4.lua
parentcf3584d6492afe6d6fff80cd5a32b690d67b1f36 (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.lua3
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" }