aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Bram Matthys2012-10-15 15:01:35 +0200
committerGravatar Bram Matthys2012-10-15 15:01:35 +0200
commit96eb692cc668c3dbcdf5bf5d1db9f4b8f89a993a (patch)
tree4569e2df0c18dcc9b92de17fa665e46dbc1f1932 /include
parent- Upgraded to c-ares 1.9.1. Updated configure & other files. (diff)
downloadunrealircd-96eb692cc668c3dbcdf5bf5d1db9f4b8f89a993a.tar.gz
unrealircd-96eb692cc668c3dbcdf5bf5d1db9f4b8f89a993a.tar.bz2
unrealircd-96eb692cc668c3dbcdf5bf5d1db9f4b8f89a993a.zip
various win32 fixes:
- Disable USE_POLL on Windows, since it doesn't work with XP and has no advantage anyway. Reported by nenolod (#4129). - Various updates to makefile.win32 and .iss file, found during building new versions of zlib, openssl, and curl.
Diffstat (limited to 'include')
-rw-r--r--include/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 3d6095bbf..bc0e7cee0 100644
--- a/include/config.h
+++ b/include/config.h
@@ -71,9 +71,14 @@
#undef NO_FDLIST
/*
- * Defining this will enable poll() usage instead of select()
+ * Defining this will enable poll() usage instead of select().
+ * This is the default on *NIX as of 3.2.10.
+ * On Windows this would require Vista or newer so we stick with
+ * select for now.
*/
+#ifndef _WIN32
#define USE_POLL
+#endif
/*
* Defining this will allow all ircops to see people in +s channels