Commit 095741cd authored by Michael's avatar Michael

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.
parent 235a1dbf
...@@ -265,6 +265,9 @@ case "${host_os}" in ...@@ -265,6 +265,9 @@ case "${host_os}" in
if test "x$enable_static" = "xyes"; then if test "x$enable_static" = "xyes"; then
AC_MSG_ERROR([Building static libraries is not supported under MinGW32]) AC_MSG_ERROR([Building static libraries is not supported under MinGW32])
fi fi
# Additional for windows to set FD_SETSIZE to a larger number
CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS"
;; ;;
*cygwin*) *cygwin*)
# Define on Cygwin to enable all library features # Define on Cygwin to enable all library features
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment