// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
-// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
bool wxSetEnv(const wxString& variable, const wxChar *value)
{
-#ifdef __WATCOMC__ // has putenv()
wxString s = variable;
if ( value )
s << _T('=') << value;
strcpy(buf, p);
return putenv(buf) == 0;
-#else // no way to set an env var
- #error "Don't know how to implement wxSetEnv on this platform!"
- return FALSE;
-#endif
}
const wxChar* wxGetHomeDir(wxString *home)