diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index fa5355435d..781dc5c909 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -459,8 +459,8 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename) fn.Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE); wxString url = fn.GetFullPath(wxPATH_NATIVE); -#ifdef __WXMSW__ - // unc notation +#ifndef __UNIX__ + // unc notation, wxMSW if ( url.Find(wxT("\\\\")) == 0 ) { url = url.Mid(2);