aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.dj
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-21 00:36:55 +0000
committerYang Tse <yangsita@gmail.com>2008-07-21 00:36:55 +0000
commitbffe69a151bbd1aae72e50c128fdb0c58596ade1 (patch)
treec3455c20efc1a996111fa00891f1f8b6ffab8466 /ares/Makefile.dj
parent71525352f07559fea84c626cfb912597983a6881 (diff)
when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
Diffstat (limited to 'ares/Makefile.dj')
-rw-r--r--ares/Makefile.dj3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/Makefile.dj b/ares/Makefile.dj
index 51439284b..dd20dc542 100644
--- a/ares/Makefile.dj
+++ b/ares/Makefile.dj
@@ -27,7 +27,8 @@ CFLAGS += -DWATT32 -DHAVE_AF_INET6 -DHAVE_PF_INET6 -DHAVE_IOCTLSOCKET \
-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
+ -DRECVFROM_TYPE_ARG5='struct sockaddr' -DHAVE_RECVFROM \
+ -DRECVFROM_TYPE_ARG2_IS_VOID
LDFLAGS = -s