diff options
author | Brad King <brad.king@kitware.com> | 2013-03-25 14:08:00 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-03-25 14:08:00 (GMT) |
commit | 33c2254aef2f8cc11df611a462b6127bc46260d8 (patch) | |
tree | afaf05c32fce595bba44279a04665e65f286229f | |
parent | 40e677e785f37fa3a1d30e0a856839dc3f21e949 (diff) | |
parent | 3ed2d03ee9ed9736656c8021e8f740540c9a2b7a (diff) | |
download | CMake-33c2254aef2f8cc11df611a462b6127bc46260d8.zip CMake-33c2254aef2f8cc11df611a462b6127bc46260d8.tar.gz CMake-33c2254aef2f8cc11df611a462b6127bc46260d8.tar.bz2 |
Merge topic 'update-kwsys'
3ed2d03 Merge branch 'upstream-kwsys' into update-kwsys
83a9f09 KWSys 2013-03-21 (2d263bc3)
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 6 | ||||
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 2 |
2 files changed, 7 insertions, 1 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 */ diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index f057e0f..9e2a93d 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -130,7 +130,7 @@ typedef int siginfo_t; # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN # endif # endif -# if defined(__GNUG__) +# if defined(__GNUC__) # include <execinfo.h> # if !(defined(__LSB_VERSION__) && __LSB_VERSION__ < 41) # define KWSYS_SYSTEMINFORMATION_HAVE_BACKTRACE |