From e0834f4142cab66174e8c03d23b22db8d7f8c0f0 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Wed, 1 Apr 2015 07:50:23 +0000 Subject: 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 --- pjlib/include/pj/config.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3