Purge XP_PC.

Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2003-04-02 22:45:08 +00:00
parent ec2f9397b0
commit 5921049139
92 changed files with 187 additions and 211 deletions

View File

@@ -138,7 +138,7 @@ nsDefaultURIFixup::CreateFixupURI(const nsAString& aStringURI, PRUint32 aFixupFl
if(*aURI)
return NS_OK;
#ifdef XP_PC
#if defined(XP_WIN) || defined(XP_OS2)
// Not a file URL, so translate '\' to '/' for convenience in the common protocols
// e.g. catch
//
@@ -414,7 +414,7 @@ nsresult nsDefaultURIFixup::ConvertFileToStringURI(const nsAString& aIn,
{
PRBool attemptFixup = PR_FALSE;
#ifdef XP_PC
#if defined(XP_WIN) || defined(XP_OS2)
// Check for \ in the url-string or just a drive (PC)
if(kNotFound != aIn.FindChar(PRUnichar('\\')) || ((aIn.Length() == 2 ) && (aIn.Last() == PRUnichar(':') || aIn.Last() == PRUnichar('|'))))
{