Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2010-12-03 03:12:50 +0300
committerBert Belder <bertbelder@gmail.com>2010-12-21 01:51:30 +0300
commit2655269911d5b0cbdbc5a20cb76139078d36f9f4 (patch)
treec36359de264452ed6dbba68eb2f3561780252777 /wscript
parentbd62203d13769a0422078b6b690f2826d2209c63 (diff)
Make select work on >64 FDs on windows
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 808968f920d..30cae1be5bd 100644
--- a/wscript
+++ b/wscript
@@ -362,6 +362,10 @@ def configure(conf):
conf.env.append_value('CPPFLAGS', '-D_FILE_OFFSET_BITS=64')
conf.env.append_value('CPPFLAGS', '-DEV_MULTIPLICITY=0')
+ # Makes select on windows support more than 64 FDs
+ if sys.platform.startswith("win32"):
+ conf.env.append_value('CPPFLAGS', '-DFD_SETSIZE=1024');
+
## needed for node_file.cc fdatasync
## Strangely on OSX 10.6 the g++ doesn't see fdatasync but gcc does?
code = """