From 2e351786c57ce441b8b7272b552dbd4e79091012 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 15 Dec 2001 16:45:57 +0000 Subject: [PATCH] compilation with DJGPP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/utils.cpp | 5 ----- 1 file changed, 5 deletions(-) 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) -- 2.45.2