Moved select_s() to Makefile.dj since select() is used in applications.
This commit is contained in:
parent
7e2ea2ece0
commit
6e682c2b01
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user