From 5d21b27abae20e228ec9cefa3c4c3d489a121362 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 18 Feb 2008 12:22:15 +0000 Subject: Build error when PJ_IOQUEUE_MAX_HANDLES is declared to large value on Visual Studio (thanks Truong Thanh Quang) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1803 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pjlib/include/pj/config.h') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 9a291608..ec1b283f 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -560,7 +560,8 @@ * for Winsock. */ #ifndef PJ_FD_SETSIZE_SETABLE -# if defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H!=0 +# if (defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H!=0) || \ + (defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H!=0) # define PJ_FD_SETSIZE_SETABLE 1 # else # define PJ_FD_SETSIZE_SETABLE 0 -- cgit v1.2.3