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:
@@ -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) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user