X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..fe164c3e2ea5453896cd63a5440a26365daec1bc:/src/common/config.cpp?ds=inline diff --git a/src/common/config.cpp b/src/common/config.cpp index 24c66d9e90..f9e071fee3 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -335,7 +335,11 @@ wxString wxExpandEnvVars(const wxString& str) wxString strVarName(str.c_str() + n + 1, m - n - 1); +#ifdef __WXWINCE__ + const wxChar *pszValue = NULL; +#else const wxChar *pszValue = wxGetenv(strVarName); +#endif if ( pszValue != NULL ) { strResult += pszValue; }