1
0
Эх сурвалжийг харах

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
KWSys Robot 12 жил өмнө
parent
commit
83a9f09d18

+ 6 - 0
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 */

+ 1 - 1
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