#include "testutil.h"
-#ifndef FD_SETSIZE
-#error "this test requires FD_SETSIZE"
-#endif
-
#define T518_SAFETY_MARGIN 16
#define NUM_OPEN (FD_SETSIZE + 10)
curl_mfprintf(stderr, "%s file descriptors open\n", strbuff);
#if !defined(HAVE_POLL) && !defined(USE_WINSOCK)
-
/*
* when using select() instead of poll() we cannot test
* libcurl functionality with a socket number equal or
return -11;
}
}
-
-#endif /* using an FD_SETSIZE bound select() */
+#endif /* !HAVE_POLL && !USE_WINSOCK */
/*
* Old or 'backwards compatible' implementations of stdio do not allow
#include "testutil.h"
-#if !defined(HAVE_POLL) && !defined(USE_WINSOCK) && !defined(FD_SETSIZE)
-#error "this test requires FD_SETSIZE"
-#endif
-
#define T537_SAFETY_MARGIN 11
#if defined(_WIN32) || defined(MSDOS)
curl_mfprintf(stderr, "%s file descriptors open\n", strbuff);
#if !defined(HAVE_POLL) && !defined(USE_WINSOCK)
-
/*
* when using select() instead of poll() we cannot test
* libcurl functionality with a socket number equal or
return -9;
}
}
-
-#endif /* using an FD_SETSIZE bound select() */
+#endif /* !HAVE_POLL && !USE_WINSOCK */
/*
* Old or 'backwards compatible' implementations of stdio do not allow