From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 30 May 2009 11:46:15 +0000 (+0000)
Subject: compilation fix for wxUSE_STL==1
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/46b38b02ce1f3a4f09a88d798e3a82fcc4271a32

compilation fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp
index b254d8d47f..7779e616da 100644
--- a/src/msw/utils.cpp
+++ b/src/msw/utils.cpp
@@ -623,7 +623,7 @@ bool wxDoSetEnv(const wxString& var, const wxChar *value)
     envstr += '=';
     if ( value )
         envstr += value;
-    _putenv(envstr);
+    _tputenv(envstr.t_str());
 #else // other compiler
     if ( !::SetEnvironmentVariable(var.t_str(), value) )
     {