aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/mhmake.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-19 11:55:35 +0000
committermarha <marha@users.sourceforge.net>2009-11-19 11:55:35 +0000
commit659a361a09bcc4571966921f474e477860963723 (patch)
tree70c568428527e66f680cf7bdab80e39a6b17b5ef /tools/mhmake/src/mhmake.cpp
parent53cc6cb6ba430aad512bbdfc9828dd9b98682fbd (diff)
downloadvcxsrv-659a361a09bcc4571966921f474e477860963723.tar.gz
vcxsrv-659a361a09bcc4571966921f474e477860963723.tar.bz2
vcxsrv-659a361a09bcc4571966921f474e477860963723.zip
Solved compilation warnings in linux.
Diffstat (limited to 'tools/mhmake/src/mhmake.cpp')
-rw-r--r--tools/mhmake/src/mhmake.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mhmake/src/mhmake.cpp b/tools/mhmake/src/mhmake.cpp
index 69f69f241..77f7a8db6 100644
--- a/tools/mhmake/src/mhmake.cpp
+++ b/tools/mhmake/src/mhmake.cpp
@@ -75,7 +75,8 @@ int __CDECL main(int argc, char* argv[])
{
mhmakefileparser::InitBuildTime();
- putenv("PLATFORM="PLATFORM);
+ char PlatformEnv[]="PLATFORM="PLATFORM;
+ putenv(PlatformEnv);
vector<string> CmdLineArgs;
for (int i=1; i<argc; i++)