From 6e682c2b0137684e89f3deab548269bde1acae2e Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Tue, 7 Nov 2006 13:29:15 +0000 Subject: Moved select_s() to Makefile.dj since select() is used in applications. --- ares/Makefile.dj | 2 +- ares/ares_private.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ares') 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 -- cgit v1.2.3