1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-22 10:52:50 +00:00

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.
This commit is contained in:
Yang Tse
2008-07-21 00:36:55 +00:00
parent 4ef94e065f
commit 44ae9e4697
4 changed files with 21 additions and 1 deletions

View File

@ -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) >> $@