diff options
Diffstat (limited to 'tools/mhmake/src/mhmake.cpp')
-rw-r--r-- | tools/mhmake/src/mhmake.cpp | 7 |
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++)
|