зеркало из https://github.com/mozilla/gecko-dev.git
BeOS changes.
This commit is contained in:
Родитель
8b1cb99be0
Коммит
b700ca9058
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче