BIO: Undefine UNICODE in b_addr.c to get POSIX declaration of gai_strerror()
authorRichard Levitte <levitte@openssl.org>
Tue, 10 Nov 2020 09:45:07 +0000 (10:45 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 13 Nov 2020 08:35:31 +0000 (09:35 +0100)
commit256d41d4371720ccfe1a4fead6bd28ed5071bcdd
treed941b7d4d7c4d8183aeabf0b91019cd7db821102
parent105d01f1eb0e48ea24b430a0ac9636906a24cdbb
BIO: Undefine UNICODE in b_addr.c to get POSIX declaration of gai_strerror()

When UNICODE is defined, Windows headers push for WCHAR implementations,
which aren't compatible with POSIX declarations.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13318)
crypto/bio/b_addr.c