@@ -92,6 +92,7 @@ case $target in
DLOPEN_FLAGS=""
WS2_LIBS="-lws2_32"
AC_DEFINE([_WIN32_WINNT], [0x0501], "WinNT version for XP+ support")
+ AC_DEFINE([FD_SETSIZE], [4096], [Maximum sockets before fd_set overflows])
;;
*-*-cygwin*)
have_cygwin=true
@@ -10,10 +10,6 @@
#include "config.h"
-#ifdef WIN32
-#define FD_SETSIZE 4096
-#endif
-
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
@@ -12,10 +12,6 @@
#ifdef HAVE_CURSES
#include <curses.h>
#endif
@@ -13,10 +13,6 @@
#include <stdlib.h>
#include <ctype.h>