mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
gai_strerror on Windows is just 'char *'
This commit is contained in:
parent
7cba3cc474
commit
d67b07c115
@ -73,7 +73,11 @@ static const char *gai_messages[] = {
|
||||
* Returns an error message corresponding to an error code returned by
|
||||
* getaddrinfo() and getnameinfo()
|
||||
*/
|
||||
#if defined _WIN32
|
||||
char *
|
||||
#else
|
||||
const char *
|
||||
#endif
|
||||
gai_strerror(int ecode) {
|
||||
union {
|
||||
const char *const_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user