aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/mhmake.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-31 10:29:48 +0100
committermarha <marha@users.sourceforge.net>2013-01-31 10:29:48 +0100
commit49c196c1056aaed97ff5cf43beff5c436d783b99 (patch)
tree6fb821e2c4d3d4c0eedbd53fe0f37dce29412037 /tools/mhmake/src/mhmake.cpp
parentb77427f7685360a51b4e2384ef4d0235723b410e (diff)
downloadvcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.tar.gz
vcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.tar.bz2
vcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.zip
mhmake: solved file date checking on 64-bit windows
Diffstat (limited to 'tools/mhmake/src/mhmake.cpp')
-rw-r--r--tools/mhmake/src/mhmake.cpp7
1 files changed, 5 insertions, 2 deletions
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<string> CmdLineArgs;
for (int i=1; i<argc; i++)