BeOS changes.
git-svn-id: svn://10.0.0.236/trunk@37122 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -536,7 +536,7 @@ nsresult nsHttpUrlImpl::ParseURL(const nsString& aSpec, const nsIURI* aURL)
|
||||
}
|
||||
|
||||
|
||||
#if defined(XP_UNIX) || defined (XP_MAC)
|
||||
#if defined(XP_UNIX) || defined (XP_MAC) || defined (XP_BEOS)
|
||||
// Always leave the top level slash for absolute file paths under Mac and UNIX.
|
||||
// The code above sometimes results in stripping all of slashes
|
||||
// off. This only happens when a previously stripped url is asked to be
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "plstr.h"
|
||||
#include "prerror.h"
|
||||
|
||||
#ifndef XP_UNIX
|
||||
#if !defined(XP_UNIX) && !defined(XP_BEOS)
|
||||
#include "direct.h"
|
||||
#endif
|
||||
|
||||
@@ -236,7 +236,7 @@ void nsNetFile::GenerateGlobalRandomBytes(void *aDest, size_t aLen) {
|
||||
|
||||
#define MAX_PATH_LEN 512
|
||||
|
||||
#ifdef XP_UNIX
|
||||
#if defined(XP_UNIX) || defined(XP_BEOS)
|
||||
|
||||
// Checked this in to fix the build. I have no idea where this lives
|
||||
// on Unix. I have no idea if this implementation does the right thing
|
||||
|
||||
Reference in New Issue
Block a user