summaryrefslogtreecommitdiff
path: root/win32/build/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'win32/build/config.w32')
-rw-r--r--win32/build/config.w326
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 015e121c18..1bb0d0e9e6 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -215,11 +215,17 @@ AC_DEFINE('HAVE_GETADDRINFO', main_network_has_ipv6);
AC_DEFINE('HAVE_GAI_STRERROR', main_network_has_ipv6);
AC_DEFINE('HAVE_IPV6', main_network_has_ipv6);
+/* this allows up to 256 sockets to be select()ed in a single
+ * call to select(), instead of the usual 64 */
+ARG_ENABLE('fd-setsize', "Set maximum number of sockets for select(2)", "256");
+AC_DEFINE('FD_SETSIZE', PHP_FD_SETSIZE);
+
ARG_ENABLE("memory-limit", "Enable memory limit checking code", "no");
AC_DEFINE('MEMORY_LIMIT', PHP_MEMORY_LIMIT == "yes" ? 1 : 0);
AC_DEFINE('HAVE_USLEEP', 1);
+AC_DEFINE('HAVE_STRCOLL', 1);
/* For snapshot builders, where can we find the additional
* files that make up the snapshot template? */