summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-22 12:08:03 (GMT)
committerBrad King <brad.king@kitware.com>2013-03-22 12:08:03 (GMT)
commit3ed2d03ee9ed9736656c8021e8f740540c9a2b7a (patch)
tree8d624d0dfd8c5eaf5c8a13e968fa8e7454368747 /Source/kwsys/ProcessUNIX.c
parentaa16a433d3634d668c211b1aa5b13271b85dffc8 (diff)
parent83a9f09d184c89c79c0d8ec52868ad68b0604d5d (diff)
downloadCMake-3ed2d03ee9ed9736656c8021e8f740540c9a2b7a.zip
CMake-3ed2d03ee9ed9736656c8021e8f740540c9a2b7a.tar.gz
CMake-3ed2d03ee9ed9736656c8021e8f740540c9a2b7a.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r--Source/kwsys/ProcessUNIX.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index fc9e8bf..b9af2f1 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -47,6 +47,12 @@ do.
*/
+#if defined(__CYGWIN__)
+/* Increase the file descriptor limit for select() before including
+ related system headers. (Default: 64) */
+# define FD_SETSIZE 16384
+#endif
+
#include <stddef.h> /* ptrdiff_t */
#include <stdio.h> /* snprintf */
#include <stdlib.h> /* malloc, free */