Mercurial > repos > blastem
changeset 1966:b3c2dcae7dfc
Skip setting AI_NUMERICSERV in megawifi code on Windows for now so min SDK version does not need to be bumped
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 04 May 2020 23:58:37 -0700 |
parents | 3a46ff899fa6 |
children | bd70f1e15684 |
files | megawifi.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {