summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjlib/include/pj/config.h3
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