summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Onet <onet.cristian@gmail.com>2014-01-27 11:58:37 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2014-01-27 19:32:41 +0100
commit3dbd8edc3572947b4da3d6bc6f77ada32df3745f (patch)
tree2df811fa23323ffaa0649901e7bf042833a896b5 /configure.ac
parentc39722e286c006f570eaedf4bea9b07b7aa671e0 (diff)
downloaddbus-3dbd8edc3572947b4da3d6bc6f77ada32df3745f.tar.gz
Fix of 'dbus-daemon can only handle 64 simultaneous connections on Windows'.
[Slightly modified by -rh] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71297 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9b320734..1ac18853 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,9 @@ esac
# Special defines for certain platforms
if test "$dbus_win" = yes; then
AC_DEFINE(DBUS_WIN,1,[Defined if we run on a W32 API based system])
+ # Yes, on Windows it really does work like this.
+ # http://support.microsoft.com/kb/111855
+ AC_DEFINE(FD_SETSIZE,8192,[The maximum number of connections that can be handled at once])
BUILD_TIMESTAMP=`date --iso-8601=minutes`
AC_SUBST(BUILD_TIMESTAMP)
# Assume DBUS_VERSION is always three numbers