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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user