]> granicus.if.org Git - curl/commitdiff
Since now src/setup.h includes setup_once.h, src/config-win32.h needs
authorYang Tse <yangsita@gmail.com>
Fri, 20 Oct 2006 17:16:06 +0000 (17:16 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 20 Oct 2006 17:16:06 +0000 (17:16 +0000)
the definitions for the return type and arguments types of functions
recv() and send().

src/config-win32.h

index fd9d1b81df0b8d19783f6760d9decf94f5fe7824..710860c731566bcafeca3ada16c478b7aa4226e4 100644 (file)
 #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                          */
 /* ---------------------------------------------------------------- */