mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 01:40:23 -05:00
gai_strerror on Windows is just 'char *'
This commit is contained in:
parent
7cba3cc474
commit
d67b07c115
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue