* hst_realm.c (EAFNOSUPPORT): On Windows, translate to WSAEAFNOSUPPORT
authorKen Raeburn <raeburn@mit.edu>
Wed, 9 Jan 2002 22:15:21 +0000 (22:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 9 Jan 2002 22:15:21 +0000 (22:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14104 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/hst_realm.c

index e2dd10ec548075e5cebea687a6dd33109ea9b81c..b0fa0bc7f47970de93e0732cb0df76024d82d25f 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-09  Ken Raeburn  <raeburn@mit.edu>
+
+       * hst_realm.c (EAFNOSUPPORT): On Windows, translate to
+       WSAEAFNOSUPPORT.
+
 2002-01-08  Ken Raeburn  <raeburn@mit.edu>
 
        * hst_realm.c (krb5int_get_fq_hostname): New function.  Use
index 568178f76d7fc377e013a2070c53ea6e0db4abaa..e4ea6eda6615df43fb83e594669d65ac94ca57d0 100644 (file)
@@ -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)