diff options
author | Bert Belder <bertbelder@gmail.com> | 2010-12-03 03:12:50 +0300 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2010-12-21 01:51:30 +0300 |
commit | 2655269911d5b0cbdbc5a20cb76139078d36f9f4 (patch) | |
tree | c36359de264452ed6dbba68eb2f3561780252777 /wscript | |
parent | bd62203d13769a0422078b6b690f2826d2209c63 (diff) |
Make select work on >64 FDs on windows
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 = """ |