aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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