зеркало из https://github.com/mozilla/gecko-dev.git
QNX port; checkin for briano@netscape.com. Bug #7276.
This commit is contained in:
Родитель
324027b316
Коммит
f8e5cceb18
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче