# HG changeset patch # User Michael Pavone # Date 1588661917 25200 # Node ID b3c2dcae7dfc93fe6551bd047e433cede7906ad2 # Parent 3a46ff899fa6398285dc299e5377d10bbe4bf990 Skip setting AI_NUMERICSERV in megawifi code on Windows for now so min SDK version does not need to be bumped diff -r 3a46ff899fa6 -r b3c2dcae7dfc megawifi.c --- a/megawifi.c Sun May 03 23:28:42 2020 -0700 +++ b/megawifi.c Mon May 04 23:58:37 2020 -0700 @@ -271,7 +271,9 @@ memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET; +#ifndef _WIN32 hints.ai_flags = AI_NUMERICSERV; +#endif hints.ai_socktype = SOCK_STREAM; if ((err = getaddrinfo(host, dst_port, &hints, &res)) != 0) {