Cygwin/Mingw32 compile fixes.

This commit is contained in:
Jan Vidar Krey
2012-01-25 00:20:59 +01:00
parent e4df1884d2
commit 5068fe8351
2 changed files with 26 additions and 3 deletions

View File

@@ -36,6 +36,11 @@
#endif
#endif
#if defined(__CYGWIN__) || defined(__MINGW32__)
#define HAVE_SSIZE_T
#define NEED_GETOPT
#endif
#ifdef WINSOCK
#ifndef FD_SETSIZE
#define FD_SETSIZE 4096