diff --git a/builds/cygwin/Makefile.cygwin b/builds/cygwin/Makefile.cygwin index 80eaea22..11830ce6 100755 --- a/builds/cygwin/Makefile.cygwin +++ b/builds/cygwin/Makefile.cygwin @@ -1,5 +1,5 @@ CC=gcc -CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=4096 -DZMQ_USE_SELECT -I. +CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=16384 -DZMQ_USE_SELECT -I. LIBS=-lws2_32 OBJS = ctx.o reaper.o dist.o err.o \ diff --git a/builds/mingw32/Makefile.mingw32 b/builds/mingw32/Makefile.mingw32 index 71137282..55872ad2 100644 --- a/builds/mingw32/Makefile.mingw32 +++ b/builds/mingw32/Makefile.mingw32 @@ -1,5 +1,5 @@ CC=gcc -CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=4096 -DZMQ_USE_SELECT -I. +CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=16384 -DZMQ_USE_SELECT -I. LIBS=-lws2_32 -lIphlpapi OBJS = ctx.o reaper.o dist.o err.o \ diff --git a/builds/msvc/vs2008/libzmq/libzmq.vcproj b/builds/msvc/vs2008/libzmq/libzmq.vcproj index 1315c592..2077bbce 100644 --- a/builds/msvc/vs2008/libzmq/libzmq.vcproj +++ b/builds/msvc/vs2008/libzmq/libzmq.vcproj @@ -11,7 +11,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -49,7 +49,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -83,7 +83,7 @@ - + diff --git a/configure.ac b/configure.ac index ea15c398..2ed75092 100644 --- a/configure.ac +++ b/configure.ac @@ -262,8 +262,8 @@ case "${host_os}" in CPPFLAGS="-DZMQ_STATIC $CPPFLAGS" fi - # Set FD_SETSIZE to 1024 - CPPFLAGS=" -DFD_SETSIZE=1024 $CPPFLAGS" + # Set FD_SETSIZE to 16384 + CPPFLAGS=" -DFD_SETSIZE=16384 $CPPFLAGS" ;; *cygwin*) # Define on Cygwin to enable all library features