diff --git a/mozilla/nsprpub/lib/prstreams/prstrms.cpp b/mozilla/nsprpub/lib/prstreams/prstrms.cpp index 954a72e437d..09ecc26cede 100644 --- a/mozilla/nsprpub/lib/prstreams/prstrms.cpp +++ b/mozilla/nsprpub/lib/prstreams/prstrms.cpp @@ -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 diff --git a/mozilla/nsprpub/pr/src/md/unix/unix_errors.c b/mozilla/nsprpub/pr/src/md/unix/unix_errors.c index e7240814071..e33dbe8bcb4 100644 --- a/mozilla/nsprpub/pr/src/md/unix/unix_errors.c +++ b/mozilla/nsprpub/pr/src/md/unix/unix_errors.c @@ -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;