aboutsummaryrefslogtreecommitdiff
path: root/lib/config-mac.h
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 /lib/config-mac.h
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 'lib/config-mac.h')
-rw-r--r--lib/config-mac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config-mac.h b/lib/config-mac.h
index d5c143c4f..e6d2130a5 100644
--- a/lib/config-mac.h
+++ b/lib/config-mac.h
@@ -71,6 +71,7 @@
#define RECVFROM_TYPE_ARG5 struct sockaddr
#define RECVFROM_TYPE_ARG6 int
#define RECVFROM_TYPE_RETV ssize_t
+#define RECVFROM_TYPE_ARG2_IS_VOID 1
#define HAVE_SEND 1
#define SEND_TYPE_ARG1 int