QNX port; checkin for briano@netscape.com. Bug #7276.

git-svn-id: svn://10.0.0.236/trunk@33955 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
srinivas%netscape.com
1999-06-06 12:10:45 +00:00
parent 833571b3c6
commit 9ddc597a3d
2 changed files with 4 additions and 0 deletions

View File

@@ -53,6 +53,8 @@
#define _PRSTR_BP m_psb
#define _PRSTR_DELBUF(x) /* as nothing */
#define _PRSTR_DELBUF_C(c, x) /* as nothing */
#elif defined(QNX)
#define PRFSTREAMS_BROKEN
#else
#define _PRSTR_BP bp
// Unix compilers don't believe in encapsulation

View File

@@ -42,9 +42,11 @@ static void _MD_unix_map_default_error(int err)
case EAGAIN:
prError = PR_WOULD_BLOCK_ERROR;
break;
#ifndef QNX
case EALREADY:
prError = PR_ALREADY_INITIATED_ERROR;
break;
#endif
case EBADF:
prError = PR_BAD_DESCRIPTOR_ERROR;
break;