From: Ken Raeburn Date: Wed, 9 Jan 2002 22:15:21 +0000 (+0000) Subject: * hst_realm.c (EAFNOSUPPORT): On Windows, translate to WSAEAFNOSUPPORT X-Git-Tag: krb5-1.3-alpha1~889 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80d94785b5405b247712fcfa911c2a8494134278;p=krb5.git * hst_realm.c (EAFNOSUPPORT): On Windows, translate to WSAEAFNOSUPPORT git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14104 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index e2dd10ec5..b0fa0bc7f 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2002-01-09 Ken Raeburn + + * hst_realm.c (EAFNOSUPPORT): On Windows, translate to + WSAEAFNOSUPPORT. + 2002-01-08 Ken Raeburn * hst_realm.c (krb5int_get_fq_hostname): New function. Use diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 568178f76..e4ea6eda6 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -398,6 +398,11 @@ krb5_get_host_realm(context, host, realmsp) return 0; } +#if defined(_WIN32) && !defined(__CYGWIN32__) +# ifndef EAFNOSUPPORT +# define EAFNOSUPPORT WSAEAFNOSUPPORT +# endif +#endif krb5_error_code krb5int_translate_gai_error (int num)