BeOS changes.

This commit is contained in:
mcafee%netscape.com 1999-06-27 10:17:36 +00:00
parent 8b1cb99be0
commit b700ca9058
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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