summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-21 00:36:55 (GMT)
committerYang Tse <yangsita@gmail.com>2008-07-21 00:36:55 (GMT)
commit44ae9e4697d4ef264db5be55fd0e9ed7cc654a85 (patch)
treeba5c8b6bee1edbed220486d23f93cc9633343bba /Makefile.netware
parent4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492 (diff)
downloadc-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.zip
c-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.tar.gz
c-ares-44ae9e4697d4ef264db5be55fd0e9ed7cc654a85.tar.bz2
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.netware')
-rw-r--r--Makefile.netware1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.netware b/Makefile.netware
index e8a8a26..d82a9cd 100644
--- a/Makefile.netware
+++ b/Makefile.netware
@@ -338,6 +338,7 @@ else
@echo $(DL)#define RECVFROM_TYPE_ARG5 struct sockaddr$(DL) >> $@
@echo $(DL)#define RECVFROM_TYPE_ARG6 int$(DL) >> $@
@echo $(DL)#define RECVFROM_TYPE_RETV ssize_t$(DL) >> $@
+ @echo $(DL)#define RECVFROM_TYPE_ARG2_IS_VOID 1$(DL) >> $@
@echo $(DL)#define SEND_QUAL_ARG2$(DL) >> $@
@echo $(DL)#define SEND_TYPE_ARG1 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_ARG2 void *$(DL) >> $@