Do not fabricate the EMFILE error code for the Mac. NO_NSPR_PRIVATE_HEADER_BRANCH
authorwtc%netscape.com
Fri, 11 Sep 1998 14:20:59 +0000
branchNO_NSPR_PRIVATE_HEADER_BRANCH
changeset 237 b24f9b0cf5b2
parent 236 701da370d1c5
push idunknown
push userunknown
push dateunknown
Do not fabricate the EMFILE error code for the Mac.
pr/include/md/_macos.h
--- a/pr/include/md/_macos.h
+++ b/pr/include/md/_macos.h
@@ -457,17 +457,16 @@ 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 PATH_SEPARATOR 					':'
 #define PATH_SEPARATOR_STR		        ":"
 #define DIRECTORY_SEPARATOR				'/'