aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-20 17:16:06 +0000
committerYang Tse <yangsita@gmail.com>2006-10-20 17:16:06 +0000
commitc6de584cade67d1779c29f0b5706ceaddfd42d11 (patch)
tree3ad7211b0b49b773d6b9872a5bb3dbc3090c4885
parentd997ff6aa8150e356c90736f735738e81190d1ed (diff)
Since now src/setup.h includes setup_once.h, src/config-win32.h needs
the definitions for the return type and arguments types of functions recv() and send().
-rw-r--r--src/config-win32.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h
index fd9d1b81d..710860c73 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -83,6 +83,45 @@
#define HAVE_UTIME 1
#endif
+/* Define if you have the recv function. */
+#define HAVE_RECV 1
+
+/* Define to the type of arg 1 for recv. */
+#define RECV_TYPE_ARG1 SOCKET
+
+/* Define to the type of arg 2 for recv. */
+#define RECV_TYPE_ARG2 char *
+
+/* Define to the type of arg 3 for recv. */
+#define RECV_TYPE_ARG3 int
+
+/* Define to the type of arg 4 for recv. */
+#define RECV_TYPE_ARG4 int
+
+/* Define to the function return type for recv. */
+#define RECV_TYPE_RETV int
+
+/* Define if you have the send function. */
+#define HAVE_SEND 1
+
+/* Define to the type of arg 1 for send. */
+#define SEND_TYPE_ARG1 SOCKET
+
+/* Define to the type qualifier of arg 2 for send. */
+#define SEND_QUAL_ARG2 const
+
+/* Define to the type of arg 2 for send. */
+#define SEND_TYPE_ARG2 char *
+
+/* Define to the type of arg 3 for send. */
+#define SEND_TYPE_ARG3 int
+
+/* Define to the type of arg 4 for send. */
+#define SEND_TYPE_ARG4 int
+
+/* Define to the function return type for send. */
+#define SEND_TYPE_RETV int
+
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */