diff options
author | Liong Sauw Ming <ming@teluu.com> | 2015-04-01 07:50:23 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2015-04-01 07:50:23 +0000 |
commit | e0834f4142cab66174e8c03d23b22db8d7f8c0f0 (patch) | |
tree | 8bf814aac2bd96e67fbe0ca4945c69d040e505a2 /pjlib | |
parent | fc15a7f4f931ee42c808ae849e99d4c80b746cba (diff) |
Re #1782 (misc): Prevent build error if using another ioqueue backend (such as epoll) or if using PJ_CONFIG_MAXIMUM_SIZE on platforms that do not support setting FD_SETSIZE
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5042 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 556deb02..3781820c 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -674,12 +674,18 @@ #else /* When FD_SETSIZE is not changeable, check if PJ_IOQUEUE_MAX_HANDLES * is lower than FD_SETSIZE value. + * + * Update: Not all ioqueue backends require this (such as epoll), so + * this check will be done on the ioqueue implementation itself, such as + * ioqueue select. */ +/* # ifdef FD_SETSIZE # if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE # error "PJ_IOQUEUE_MAX_HANDLES is greater than FD_SETSIZE" # endif # endif +*/ #endif |