mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -05:00
DJGPP/WATT32 does not have functions named recv() send() getnameinfo().
This commit is contained in:
parent
58176d1484
commit
2278e8f1ba
@ -22,7 +22,6 @@
|
|||||||
#define HAVE_FIONBIO 1
|
#define HAVE_FIONBIO 1
|
||||||
#define HAVE_GETHOSTBYADDR 1
|
#define HAVE_GETHOSTBYADDR 1
|
||||||
#define HAVE_GETHOSTNAME 1
|
#define HAVE_GETHOSTNAME 1
|
||||||
#define HAVE_GETNAMEINFO 1
|
|
||||||
#define HAVE_GETPASS 1
|
#define HAVE_GETPASS 1
|
||||||
#define HAVE_GETSERVBYNAME 1
|
#define HAVE_GETSERVBYNAME 1
|
||||||
#define HAVE_GETPROTOBYNAME 1
|
#define HAVE_GETPROTOBYNAME 1
|
||||||
@ -43,9 +42,7 @@
|
|||||||
#define HAVE_NET_IF_H 1
|
#define HAVE_NET_IF_H 1
|
||||||
#define HAVE_PROCESS_H 1
|
#define HAVE_PROCESS_H 1
|
||||||
#define HAVE_PERROR 1
|
#define HAVE_PERROR 1
|
||||||
#define HAVE_RECV 1
|
|
||||||
#define HAVE_SELECT 1
|
#define HAVE_SELECT 1
|
||||||
#define HAVE_SEND 1
|
|
||||||
#define HAVE_SETJMP_H 1
|
#define HAVE_SETJMP_H 1
|
||||||
#define HAVE_SETLOCALE 1
|
#define HAVE_SETLOCALE 1
|
||||||
#define HAVE_SETVBUF 1
|
#define HAVE_SETVBUF 1
|
||||||
@ -121,26 +118,31 @@
|
|||||||
#define ssize_t int
|
#define ssize_t int
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Types and qualifies for getnameinfo(), recv() and send()
|
/* Types and qualifies for getnameinfo(), recv() and send()
|
||||||
|
* should not be defined. See lib/setup.h for explanation.
|
||||||
*/
|
*/
|
||||||
#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
|
|
||||||
#define GETNAMEINFO_QUAL_ARG1 const
|
|
||||||
#define GETNAMEINFO_TYPE_ARG2 socklen_t
|
|
||||||
#define GETNAMEINFO_TYPE_ARG46 int
|
|
||||||
#define GETNAMEINFO_TYPE_ARG7 int
|
|
||||||
|
|
||||||
#define RECV_TYPE_ARG1 int
|
#undef HAVE_GETNAMEINFO
|
||||||
#define RECV_TYPE_ARG2 void *
|
#undef GETNAMEINFO_TYPE_ARG1
|
||||||
#define RECV_TYPE_ARG3 int
|
#undef GETNAMEINFO_QUAL_ARG1
|
||||||
#define RECV_TYPE_ARG4 int
|
#undef GETNAMEINFO_TYPE_ARG2
|
||||||
#define RECV_TYPE_RETV int
|
#undef GETNAMEINFO_TYPE_ARG46
|
||||||
|
#undef GETNAMEINFO_TYPE_ARG7
|
||||||
|
|
||||||
#define SEND_TYPE_ARG1 int
|
#undef HAVE_RECV
|
||||||
#define SEND_QUAL_ARG2 const
|
#undef RECV_TYPE_ARG1
|
||||||
#define SEND_TYPE_ARG2 void *
|
#undef RECV_TYPE_ARG2
|
||||||
#define SEND_TYPE_ARG3 int
|
#undef RECV_TYPE_ARG3
|
||||||
#define SEND_TYPE_ARG4 int
|
#undef RECV_TYPE_ARG4
|
||||||
#define SEND_TYPE_RETV int
|
#undef RECV_TYPE_RETV
|
||||||
|
|
||||||
|
#undef HAVE_SEND
|
||||||
|
#undef SEND_TYPE_ARG1
|
||||||
|
#undef SEND_QUAL_ARG2
|
||||||
|
#undef SEND_TYPE_ARG2
|
||||||
|
#undef SEND_TYPE_ARG3
|
||||||
|
#undef SEND_TYPE_ARG4
|
||||||
|
#undef SEND_TYPE_RETV
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user