mirror of
https://github.com/curl/curl.git
synced 2026-05-16 19:56:22 +03:00
tests/server: delete workaround for old-mingw
mingw-w64 1.0 comes with w32api v3.12, thus doesn't need this.
Follow-up to 38029101e2 #11625
Reviewed-by: Jay Satiro
Closes #12510
This commit is contained in:
parent
043523a89b
commit
246e0d805a
1 changed files with 0 additions and 12 deletions
|
|
@ -39,9 +39,6 @@
|
|||
#elif defined(HAVE_SYS_POLL_H)
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
#ifdef __MINGW32__
|
||||
#include <w32api.h>
|
||||
#endif
|
||||
|
||||
#define ENABLE_CURLX_PRINTF
|
||||
/* make the curlx header define all printf() functions to use the curlx_*
|
||||
|
|
@ -58,15 +55,6 @@
|
|||
#define EINVAL 22 /* errno.h value */
|
||||
#endif
|
||||
|
||||
/* MinGW with w32api version < 3.6 declared in6addr_any as extern,
|
||||
but lacked the definition */
|
||||
#if defined(ENABLE_IPV6) && defined(__MINGW32__)
|
||||
#if (__W32API_MAJOR_VERSION < 3) || \
|
||||
((__W32API_MAJOR_VERSION == 3) && (__W32API_MINOR_VERSION < 6))
|
||||
const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
|
||||
#endif /* w32api < 3.6 */
|
||||
#endif /* ENABLE_IPV6 && __MINGW32__ */
|
||||
|
||||
static struct timeval tvnow(void);
|
||||
|
||||
/* This function returns a pointer to STATIC memory. It converts the given
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue