aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-11-07 13:29:15 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-11-07 13:29:15 +0000
commit6e682c2b0137684e89f3deab548269bde1acae2e (patch)
tree727eb3b16164dd93f5fce8fb3937179bdacce32a /ares
parent7e2ea2ece0a2a24c95a5d6d166b51955c327c9c6 (diff)
Moved select_s() to Makefile.dj since select() is used in applications.
Diffstat (limited to 'ares')
-rw-r--r--ares/Makefile.dj2
-rw-r--r--ares/ares_private.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/ares/Makefile.dj b/ares/Makefile.dj
index c8750801e..588704158 100644
--- a/ares/Makefile.dj
+++ b/ares/Makefile.dj
@@ -17,7 +17,7 @@ CFLAGS += -DWATT32 -DHAVE_AF_INET6 -DHAVE_PF_INET6 -DHAVE_FIONBIO \
-DSEND_TYPE_ARG4='int' -DSEND_TYPE_RETV='int' \
-DRECV_TYPE_ARG1='int' -DRECV_TYPE_ARG2='void*' \
-DRECV_TYPE_ARG3='int' -DRECV_TYPE_ARG4='int' \
- -DRECV_TYPE_RETV='int' -UHAVE_CONFIG_H
+ -DRECV_TYPE_RETV='int' -UHAVE_CONFIG_H -Dselect=select_s
LDFLAGS = -s
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 4741f60cb..7fa316fec 100644
--- a/ares/ares_private.h
+++ b/ares/ares_private.h
@@ -34,7 +34,6 @@
#undef closesocket
#define closesocket(s) close_s(s)
#define writev(s,v,c) writev_s(s,v,c)
-#define select(n,r,w,x,t) select_s(n,r,w,x,t)
#endif
#ifdef NETWARE