Build error when PJ_IOQUEUE_MAX_HANDLES is declared to large value on Visual Studio (thanks Truong Thanh Quang)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1803 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h
index 9a29160..ec1b283 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