aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware1
-rw-r--r--lib/config-mac.h1
-rw-r--r--lib/config-riscos.h3
-rw-r--r--lib/config-symbian.h1
-rw-r--r--lib/config.dos1
5 files changed, 7 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 6e0aac995..07718e0a0 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -428,6 +428,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) >> $@
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
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index 7140e9c24..86ef864e3 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -439,6 +439,9 @@
/* Define to the type pointed by arg 2 for recvfrom. */
#define RECVFROM_TYPE_ARG2 void
+/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
+#define RECVFROM_TYPE_ARG2_IS_VOID 1
+
/* Define to the type of arg 3 for recvfrom. */
#define RECVFROM_TYPE_ARG3 size_t
diff --git a/lib/config-symbian.h b/lib/config-symbian.h
index b7467dbd9..0c8a1716e 100644
--- a/lib/config-symbian.h
+++ b/lib/config-symbian.h
@@ -690,6 +690,7 @@
#define RECVFROM_TYPE_ARG5 struct sockaddr
#define RECVFROM_TYPE_ARG6 size_t
#define RECVFROM_TYPE_RETV ssize_t
+#define RECVFROM_TYPE_ARG2_IS_VOID 1
#define SEND_TYPE_ARG1 int
#define SEND_QUAL_ARG2 const
diff --git a/lib/config.dos b/lib/config.dos
index 9669bdb21..76b30debd 100644
--- a/lib/config.dos
+++ b/lib/config.dos
@@ -86,6 +86,7 @@
#define RECVFROM_TYPE_ARG5 struct sockaddr
#define RECVFROM_TYPE_ARG6 int
#define RECVFROM_TYPE_RETV int
+#define RECVFROM_TYPE_ARG2_IS_VOID 1
#define BSD