NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
authorwtc%netscape.com
Tue, 22 Sep 1998 16:59:57 +0000
changeset 250 597f2205dfb9f2ff648c5e2dd760a3f456f3045a
parent 248 86d12b035ec178505443c92dbf46d577ecf33905
child 251 8389b7d24d9fafa96d49587d67cf894cfa47c612
child 260 9a90f6d9581a7138a3ce72779f4733c1def8d73d
push idunknown
push userunknown
push dateunknown
NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of private NSPR headers (prosdep.h and primpl.h) from the Mozilla source. The part of prosdep.h that is actually needed by Mozilla was extracted and put in the new file mozilla/include/xp_path.h.
pr/include/md/_macos.h
--- a/pr/include/md/_macos.h
+++ b/pr/include/md/_macos.h
@@ -457,36 +457,30 @@ typedef int (*FARPROC)();
 extern long gTimeSlicesOnNonPrimaryThread;
 extern struct PRThread *gPrimaryThread;
 
 typedef short PROSFD;
 
 // Errors not found in the Mac StdCLib
 #define EACCES  		13      	// Permission denied
 #define ENOENT			-43			// No such file or directory
-#define	EMFILE			24			// Too many open files
 #define _OS_INVALID_FD_VALUE -1
 
 #define	STDERR_FILENO	2
 
 #if !defined(MAC_NSPR_STANDALONE)
-#define MAC_PATH_SEPARATOR 				':'
 #define PATH_SEPARATOR 					':'
 #define PATH_SEPARATOR_STR		        ":"
 #define DIRECTORY_SEPARATOR				'/'
 #define DIRECTORY_SEPARATOR_STR			"/"
 #endif
 
 #define UNIX_THIS_DIRECTORY_STR			"./"
 #define UNIX_PARENT_DIRECTORY_STR		"../"
 
-#define MAX_PATH 			512
-#define MAX_MAC_FILENAME	31
-#define MAXPATHLEN			MAX_PATH
-
 
 // Alias a few names
 #define getenv	PR_GetEnv
 #define putenv	_MD_PutEnv
 
 #if defined(MAC_NSPR_STANDALONE)
 typedef unsigned char (*MemoryCacheFlusherProc)(size_t size);
 typedef void (*PreAllocationHookProc)(void);
@@ -528,20 +522,16 @@ extern FILE *_OS_FOPEN(const char *filen
 extern void dprintf(const char *format, ...);
 
 
 // Entry into the memory system's cache flushing
 #if defined(MAC_NSPR_STANDALONE)
 extern PRUint8 CallCacheFlushers(size_t blockSize);
 #endif
 
-enum {
-	kPrivateNSPREventType = 13
-};
-
 #if defined(MAC_NSPR_STANDALONE)
 extern void* reallocSmaller(void* block, size_t newSize);
 #endif
 
 
 /*
 ** PR_GetSystemInfo related definitions
 */