зеркало из https://github.com/mozilla/pjs.git
We also need to define the poll-related error reporting functions
if we are using our emulated poll(). This patch is contributed by Jeremy Lea <reg@shale.csir.co.za>.
This commit is contained in:
Родитель
56897e24b9
Коммит
477b4078dc
|
@ -1450,7 +1450,7 @@ void _MD_unix_map_select_error(int err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _PR_POLL_AVAILABLE
|
#if defined(_PR_POLL_AVAILABLE) || defined(_PR_NEED_FAKE_POLL)
|
||||||
void _MD_unix_map_poll_error(int err)
|
void _MD_unix_map_poll_error(int err)
|
||||||
{
|
{
|
||||||
PRErrorCode prerror;
|
PRErrorCode prerror;
|
||||||
|
@ -1483,7 +1483,7 @@ void _MD_unix_map_poll_revents_error(int err)
|
||||||
else
|
else
|
||||||
PR_SetError(PR_UNKNOWN_ERROR, err);
|
PR_SetError(PR_UNKNOWN_ERROR, err);
|
||||||
}
|
}
|
||||||
#endif /* _PR_POLL_AVAILABLE */
|
#endif /* _PR_POLL_AVAILABLE || _PR_NEED_FAKE_POLL */
|
||||||
|
|
||||||
|
|
||||||
void _MD_unix_map_flock_error(int err)
|
void _MD_unix_map_flock_error(int err)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче