mirror of https://github.com/aria2/aria2
Previous commit accidentaly didn't include a2netcompat.h.
parent
b513331407
commit
91e4a887c6
|
@ -50,12 +50,12 @@
|
||||||
#endif // !__CYGWIN__
|
#endif // !__CYGWIN__
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
# define SOCKOPT_T const char
|
# define SOCKOPT_T char
|
||||||
# define HAVE_GETADDRINFO
|
# define HAVE_GETADDRINFO
|
||||||
# undef HAVE_GAI_STRERROR
|
# undef HAVE_GAI_STRERROR
|
||||||
# undef gai_strerror
|
# undef gai_strerror
|
||||||
#else
|
#else
|
||||||
# define SOCKOPT_T socklen_t
|
# define SOCKOPT_T int
|
||||||
#endif // __MINGW32__
|
#endif // __MINGW32__
|
||||||
|
|
||||||
#ifdef HAVE_NETDB_H
|
#ifdef HAVE_NETDB_H
|
||||||
|
|
Loading…
Reference in New Issue