summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-08-14 16:12:18 +0000
committerSimon Josefsson <simon@josefsson.org>2006-08-14 16:12:18 +0000
commit5fb6949154e212b90569d7b5c7d25ece61ce39ef (patch)
tree608cdd8a351f2a097499d9cfa146e58cc933e573 /src
parent487d4f28b4460c9d01e9c92504c5061e56a3fba3 (diff)
downloadgnutls-5fb6949154e212b90569d7b5c7d25ece61ce39ef.tar.gz
Map select to _win_select on Windows hosts.
Diffstat (limited to 'src')
-rw-r--r--src/serv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/serv.c b/src/serv.c
index 7751c26fd3..dd27726857 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -37,6 +37,10 @@
#include <fcntl.h>
#include <list.h>
+#if defined _WIN32 || defined __WIN32__
+#define select _win_select
+#endif
+
#include "getaddrinfo.h"
/* konqueror cannot handle sending the page in multiple