From 659a361a09bcc4571966921f474e477860963723 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 19 Nov 2009 11:55:35 +0000 Subject: Solved compilation warnings in linux. --- tools/mhmake/src/mhmake.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/mhmake/src/mhmake.cpp') 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 CmdLineArgs; for (int i=1; i