summaryrefslogtreecommitdiff
path: root/Makefile.dj
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-16 19:16:41 +0000
committerYang Tse <yangsita@gmail.com>2008-07-16 19:16:41 +0000
commit7dd6d7cbe13a7b55a52be0bdf6499ca809ea8523 (patch)
treeeea630e5f9f1755ec6fdc2116457da6615b3698d /Makefile.dj
parent6b84d9ff24e5d4921fb12f43b66f2b668b42bd06 (diff)
downloadc-ares-7dd6d7cbe13a7b55a52be0bdf6499ca809ea8523.tar.gz
c-ares-7dd6d7cbe13a7b55a52be0bdf6499ca809ea8523.tar.bz2
c-ares-7dd6d7cbe13a7b55a52be0bdf6499ca809ea8523.zip
Configure process now checks availability of recvfrom() socket function and
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
Diffstat (limited to 'Makefile.dj')
-rw-r--r--Makefile.dj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.dj b/Makefile.dj
index 804b0a7..0539e4b 100644
--- a/Makefile.dj
+++ b/Makefile.dj
@@ -23,7 +23,11 @@ CFLAGS += -DWATT32 -DHAVE_AF_INET6 -DHAVE_PF_INET6 -DHAVE_IOCTLSOCKET \
-DRECV_TYPE_ARG1='int' -DRECV_TYPE_ARG2='void*' \
-DRECV_TYPE_ARG3='int' -DRECV_TYPE_ARG4='int' \
-DRECV_TYPE_RETV='int' -DHAVE_STRUCT_TIMEVAL \
- -Dselect=select_s -Dsocklen_t=int -UHAVE_CONFIG_H
+ -Dselect=select_s -Dsocklen_t=int -UHAVE_CONFIG_H \
+ -DRECVFROM_TYPE_ARG1='int' -DRECVFROM_TYPE_ARG2='void*' \
+ -DRECVFROM_TYPE_ARG3='int' -DRECVFROM_TYPE_ARG4='int' \
+ -DRECVFROM_TYPE_ARG6='int*' -DRECVFROM_TYPE_RETV='int' \
+ -DRECVFROM_TYPE_ARG5='struct sockaddr*' -DHAVE_RECVFROM
LDFLAGS = -s