summaryrefslogtreecommitdiff
path: root/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
commit44ae9e4697d4ef264db5be55fd0e9ed7cc654a85 (patch)
treeba5c8b6bee1edbed220486d23f93cc9633343bba /Makefile.dj
parent4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492 (diff)
downloadc-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.tar.gz
c-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.tar.bz2
c-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.zip
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 'Makefile.dj')
-rw-r--r--Makefile.dj3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.dj b/Makefile.dj
index 5143928..dd20dc5 100644
--- a/Makefile.dj
+++ b/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