compilation fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-30 11:46:15 +00:00
parent 14bac4b5b9
commit 46b38b02ce

View File

@@ -623,7 +623,7 @@ bool wxDoSetEnv(const wxString& var, const wxChar *value)
envstr += '='; envstr += '=';
if ( value ) if ( value )
envstr += value; envstr += value;
_putenv(envstr); _tputenv(envstr.t_str());
#else // other compiler #else // other compiler
if ( !::SetEnvironmentVariable(var.t_str(), value) ) if ( !::SetEnvironmentVariable(var.t_str(), value) )
{ {