From f77b96e4d9a530dc264e74ce07fd5a7298cfaaa6 Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Mon, 11 Nov 2013 13:09:23 +0000 Subject: [PATCH] Revert "Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket." This reverts commit 0b92831b2a82c3bbc0e9371662c546b94915a3ea. --- CMakeLists.txt | 2 +- builds/mingw32/Makefile.mingw32 | 2 +- builds/msvc/libzmq/libzmq.vcproj | 10 +++++----- builds/msvc/properties/ZeroMQ.props | 2 +- builds/msvc/properties/ZeroMQ_Static.props | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65097b69..3a33117c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,7 +269,7 @@ if(MSVC) -DWIN32 -DDLL_EXPORT # NB: May require tweaking for highly connected applications. - -DFD_SETSIZE=1025 + -DFD_SETSIZE=1024 -D_CRT_SECURE_NO_WARNINGS) # Parallel make. diff --git a/builds/mingw32/Makefile.mingw32 b/builds/mingw32/Makefile.mingw32 index 95cea7d3..447cf504 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=1025 -I. +CFLAGS=-Wall -Os -g -DDLL_EXPORT -DFD_SETSIZE=1024 -I. LIBS=-lws2_32 OBJS = ctx.o reaper.o dist.o err.o \ diff --git a/builds/msvc/libzmq/libzmq.vcproj b/builds/msvc/libzmq/libzmq.vcproj index 01adfd1a..9cdef064 100644 --- a/builds/msvc/libzmq/libzmq.vcproj +++ b/builds/msvc/libzmq/libzmq.vcproj @@ -40,7 +40,7 @@ /> copy ..\platform.hpp ..\..\..\src - _CRT_SECURE_NO_WARNINGS;DLL_EXPORT;FD_SETSIZE=1025;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;DLL_EXPORT;FD_SETSIZE=1024;%(PreprocessorDefinitions) Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies) diff --git a/builds/msvc/properties/ZeroMQ_Static.props b/builds/msvc/properties/ZeroMQ_Static.props index 9cdb107a..dec17f85 100644 --- a/builds/msvc/properties/ZeroMQ_Static.props +++ b/builds/msvc/properties/ZeroMQ_Static.props @@ -13,7 +13,7 @@ copy ..\platform.hpp ..\..\..\src - _CRT_SECURE_NO_WARNINGS;ZMQ_STATIC;FD_SETSIZE=1025;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;ZMQ_STATIC;FD_SETSIZE=1024;%(PreprocessorDefinitions) Ws2_32.lib;Rpcrt4.lib;%(AdditionalDependencies)