summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2013-03-21 18:49:23 (GMT)
committerBrad King <brad.king@kitware.com>2013-03-22 12:07:58 (GMT)
commit83a9f09d184c89c79c0d8ec52868ad68b0604d5d (patch)
treec6c505e0bd6089a4432d9cc6fc98ee004d5086f9
parent9d66f74335a09019644c7b82af0860da439fce87 (diff)
downloadCMake-83a9f09d184c89c79c0d8ec52868ad68b0604d5d.zip
CMake-83a9f09d184c89c79c0d8ec52868ad68b0604d5d.tar.gz
CMake-83a9f09d184c89c79c0d8ec52868ad68b0604d5d.tar.bz2
KWSys 2013-03-21 (2d263bc3)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 2d263bc3 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 5c34ed2e..2d263bc3 Paul Kunysch (1): 2d263bc3 Process: Increase FD_SETSIZE on Cygwin Sean McBride (1): 13f5badd SystemInformation: Replace __GNUG__ with __GNUC__ Change-Id: I2d29f6d7e9bbc34f7a9b40394a7ee05f3c537396
-rw-r--r--ProcessUNIX.c6
-rw-r--r--SystemInformation.cxx2
2 files changed, 7 insertions, 1 deletions
diff --git a/ProcessUNIX.c b/ProcessUNIX.c
index fc9e8bf..b9af2f1 100644
--- a/ProcessUNIX.c
+++ b/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/SystemInformation.cxx b/SystemInformation.cxx
index f057e0f..9e2a93d 100644
--- a/SystemInformation.cxx
+++ b/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