git ssb

0+

cel / sslh



Commit 59c9be54ad6423c26ae1fb8012f0ecf219e26ceb

Set FD_SETSIZE to 4096 on Cygwin

Yves Rutschle committed on 7/26/2013, 5:42:22 PM
Parent: e3159409c0edb56f5dc00df41f9525f568eeeb8d

Files changed

common.hchanged
common.hView
@@ -1,7 +1,13 @@
11 #ifndef __COMMON_H_
22 #define __COMMON_H_
33
4+/* FD_SETSIZE is 64 on Cygwin, which is really low. Just redefining it is
5+ * enough for the macros to adapt (http://support.microsoft.com/kb/111855)
6+ */
7+#ifdef __CYGWIN__
8+#define FD_SETSIZE 4096
9+#endif
410
511 #define _GNU_SOURCE
612 #include <sys/types.h>
713 #include <fcntl.h>

Built with git-ssb-web