Wine fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-11-12 15:39:12 +00:00
parent a82c22998b
commit dc484d491b
2 changed files with 2 additions and 2 deletions

View File

@@ -387,7 +387,7 @@ const wxChar* wxGetHomeDir(wxString *pstr)
wxString& strDir = *pstr;
// first branch is for Cygwin
#if defined(__UNIX__)
#if defined(__UNIX__) && !defined(__WINE__)
const wxChar *szHome = wxGetenv("HOME");
if ( szHome == NULL ) {
// we're homeless...