From 095741cd9c7c623a62766edc8897c85462160d73 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 2 May 2015 01:11:54 +1000 Subject: [PATCH 1/3] set FD_SETSIZE to 1024 on mingw Sets FD_SETSIZE to 1024 under mingw systems, increasing it from the default of 64, and brings it into line with the previous limit for CMake builds on mingw. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 277811e7..67dd3409 100644 --- a/configure.ac +++ b/configure.ac @@ -265,6 +265,9 @@ case "${host_os}" in if test "x$enable_static" = "xyes"; then AC_MSG_ERROR([Building static libraries is not supported under MinGW32]) fi + + # Additional for windows to set FD_SETSIZE to a larger number + CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS" ;; *cygwin*) # Define on Cygwin to enable all library features From bd795d6f7a7c6c4ad95fc19b975c20ed962abc26 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 2 May 2015 01:12:22 +1000 Subject: [PATCH 2/3] Update configure.ac --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 67dd3409..d056ea3d 100644 --- a/configure.ac +++ b/configure.ac @@ -266,8 +266,8 @@ case "${host_os}" in AC_MSG_ERROR([Building static libraries is not supported under MinGW32]) fi - # Additional for windows to set FD_SETSIZE to a larger number - CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS" + # Additional for windows to set FD_SETSIZE to a larger number + CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS" ;; *cygwin*) # Define on Cygwin to enable all library features From 166a14c4a507b7173a12300bd49ab7385dc39009 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 2 May 2015 01:13:33 +1000 Subject: [PATCH 3/3] Update configure.ac --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d056ea3d..9f491b73 100644 --- a/configure.ac +++ b/configure.ac @@ -266,7 +266,7 @@ case "${host_os}" in AC_MSG_ERROR([Building static libraries is not supported under MinGW32]) fi - # Additional for windows to set FD_SETSIZE to a larger number + # Set FD_SETSIZE to 1024 CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS" ;; *cygwin*)