From bd0ecf478466b27103af92db33ffebc3948f2e4e Mon Sep 17 00:00:00 2001
From: Martin Sustrik <sustrik@250bpm.com>
Date: Tue, 16 Nov 2010 14:15:29 +0100
Subject: FD_SETSIZE defaults to 1024 in MSVC build

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
---
 builds/msvc/libzmq/libzmq.vcproj | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'builds/msvc')

diff --git a/builds/msvc/libzmq/libzmq.vcproj b/builds/msvc/libzmq/libzmq.vcproj
index 456b5ed..ef78f97 100644
--- a/builds/msvc/libzmq/libzmq.vcproj
+++ b/builds/msvc/libzmq/libzmq.vcproj
@@ -40,7 +40,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="-DDLL_EXPORT"
+				AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024"
 				Optimization="0"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
@@ -112,7 +112,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="-DDLL_EXPORT"
+				AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				RuntimeLibrary="2"
@@ -233,6 +233,10 @@
 				RelativePath="..\..\..\src\lb.cpp"
 				>
 			</File>
+			<File
+				RelativePath="..\..\..\src\mailbox.cpp"
+				>
+			</File>
 			<File
 				RelativePath="..\..\..\src\named_session.cpp"
 				>
@@ -309,10 +313,6 @@
 				RelativePath="..\..\..\src\session.cpp"
 				>
 			</File>
-			<File
-				RelativePath="..\..\..\src\mailbox.cpp"
-				>
-			</File>
 			<File
 				RelativePath="..\..\..\src\socket_base.cpp"
 				>
@@ -495,6 +495,10 @@
 				RelativePath="..\..\..\src\likely.hpp"
 				>
 			</File>
+			<File
+				RelativePath="..\..\..\src\mailbox.hpp"
+				>
+			</File>
 			<File
 				RelativePath="..\..\..\src\msg_content.hpp"
 				>
@@ -591,10 +595,6 @@
 				RelativePath="..\..\..\src\session.hpp"
 				>
 			</File>
-			<File
-				RelativePath="..\..\..\src\mailbox.hpp"
-				>
-			</File>
 			<File
 				RelativePath="..\..\..\src\socket_base.hpp"
 				>
-- 
cgit v1.2.3