diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-18 12:22:15 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-18 12:22:15 +0000 |
commit | 5d21b27abae20e228ec9cefa3c4c3d489a121362 (patch) | |
tree | 59675ce21ce8bf54e675eb43c592e746b26eaf38 /pjlib | |
parent | c9ad38b89fddbff056eed9ac478cde731cf6d0f9 (diff) |
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
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |