]> git.saurik.com Git - wxWidgets.git/commitdiff
Should only add // under MSW -- not on Unix, not on Mac.
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 15:42:10 +0000 (15:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 15:42:10 +0000 (15:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filesys.cpp

index 5ed5a520d03fb2ba2a3d3310b5b60b2ddac5ca88..fa5355435dfb2fe64d1cb533a4d0d55fb59efad9 100644 (file)
@@ -431,7 +431,7 @@ wxFileName wxFileSystem::URLToFileName(const wxString& url)
                path = path.Mid(7);
        }
 
-#ifndef __UNIX__
+#ifdef __WXMSW__
        // file urls either start with a forward slash (local harddisk),
     // otherwise they have a servername/sharename notation,
     // which only exists on msw and corresponds to a unc