diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-21 00:36:55 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-21 00:36:55 +0000 |
commit | bffe69a151bbd1aae72e50c128fdb0c58596ade1 (patch) | |
tree | c3455c20efc1a996111fa00891f1f8b6ffab8466 /acinclude.m4 | |
parent | 71525352f07559fea84c626cfb912597983a6881 (diff) | |
download | curl-bffe69a151bbd1aae72e50c128fdb0c58596ade1.tar.gz |
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 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 48150459f..743fcda08 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1739,6 +1739,19 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [ AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG6, $recvfrom_type_arg6, [Define to the type pointed by arg 6 for recvfrom.]) # + if test "$recvfrom_type_arg2" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG2_IS_VOID, 1, + [Define to 1 if the type pointed by arg 2 for recvfrom is void.]) + fi + if test "$recvfrom_type_arg5" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG5_IS_VOID, 1, + [Define to 1 if the type pointed by arg 5 for recvfrom is void.]) + fi + if test "$recvfrom_type_arg6" = "void"; then + AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG6_IS_VOID, 1, + [Define to 1 if the type pointed by arg 6 for recvfrom is void.]) + fi + # case $prev_sh_opts in *f*) ;; |