mirror of
https://github.com/curl/curl.git
synced 2025-04-06 16:10:34 +08:00
INADDR_NONE no longer used.
This commit is contained in:
parent
078fc4186b
commit
529e01736c
@ -49,10 +49,6 @@ extern int optind;
|
||||
extern char *optarg;
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
#define INADDR_NONE 0xffffffff
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRUCT_IN6_ADDR
|
||||
struct in6_addr
|
||||
{
|
||||
@ -87,7 +83,6 @@ int main(int argc, char **argv)
|
||||
dbug_init();
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 't':
|
||||
if (!strcasecmp(optarg,"a"))
|
||||
addr_family = AF_INET;
|
||||
|
Loading…
x
Reference in New Issue
Block a user