]> granicus.if.org Git - curl/commitdiff
Moved select_s() to Makefile.dj since select() is used in applications.
authorGisle Vanem <gvanem@broadpark.no>
Tue, 7 Nov 2006 13:29:15 +0000 (13:29 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 7 Nov 2006 13:29:15 +0000 (13:29 +0000)
ares/Makefile.dj
ares/ares_private.h

index c8750801ea40aeb0e666616c3b9b24fcc88f094e..588704158053509a37c4299e20d15cb7c90e2b41 100644 (file)
@@ -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
 
index 4741f60cb5aff1d190e3e0df98acf95874f9a117..7fa316fecded78749c8b91cfe45800c16a4e67f4 100644 (file)
@@ -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