diff --git a/Makefile.dj b/Makefile.dj index c8750801..58870415 100644 --- a/Makefile.dj +++ b/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_private.h b/ares_private.h index 4741f60c..7fa316fe 100644 --- a/ares_private.h +++ b/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