mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:23:30 +03:00
fix: remove need and definition of HAVE_SOCKLEN_T symbol
This commit is contained in:
parent
0163b5b8be
commit
d8efc99217
4 changed files with 2 additions and 12 deletions
|
|
@ -107,11 +107,10 @@ struct timeval {
|
|||
* definition is present the other one also is available.
|
||||
*/
|
||||
|
||||
#if defined(WIN32) && !defined(HAVE_SOCKLEN_T)
|
||||
#if defined(WIN32) && !defined(HAVE_CONFIG_H)
|
||||
# if ( defined(_MSC_VER) && !defined(INET_ADDRSTRLEN) ) || \
|
||||
(!defined(_MSC_VER) && !defined(HAVE_WS2TCPIP_H) )
|
||||
# define socklen_t int
|
||||
# define HAVE_SOCKLEN_T
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue