X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9210a48a337fc34dd00dc4c69d4afd0df862f508..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/src/mgl/utils.cpp?ds=sidebyside diff --git a/src/mgl/utils.cpp b/src/mgl/utils.cpp index 7c138f7e43..78693a2a69 100644 --- a/src/mgl/utils.cpp +++ b/src/mgl/utils.cpp @@ -74,7 +74,6 @@ bool wxGetEnv(const wxString& var, wxString *value) bool wxSetEnv(const wxString& variable, const wxChar *value) { -#ifdef __WATCOMC__ // has putenv() wxString s = variable; if ( value ) s << _T('=') << value; @@ -87,10 +86,6 @@ bool wxSetEnv(const wxString& variable, const wxChar *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)