From 49c196c1056aaed97ff5cf43beff5c436d783b99 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 31 Jan 2013 10:29:48 +0100 Subject: mhmake: solved file date checking on 64-bit windows --- tools/mhmake/src/mhmake.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tools/mhmake/src/mhmake.cpp') diff --git a/tools/mhmake/src/mhmake.cpp b/tools/mhmake/src/mhmake.cpp index ef515b0b2..735453af6 100644 --- a/tools/mhmake/src/mhmake.cpp +++ b/tools/mhmake/src/mhmake.cpp @@ -75,8 +75,11 @@ int __CDECL main(int argc, char* argv[]) { mhmakefileparser::InitBuildTime(); - char PlatformEnv[]="PLATFORM="PLATFORM; - putenv(PlatformEnv); + if (!getenv("Platform")) + { + char PlatformEnv[]="PLATFORM="PLATFORM; + putenv(PlatformEnv); + } vector CmdLineArgs; for (int i=1; i