+2002-01-08 Ken Raeburn <raeburn@mit.edu>
+
+ * socket-utils.h (ss2sin6) [__GNUC__]: Define inline function only
+ if IPv6 support is turned on.
+
2001-12-07 Ezra Peisach <epeisach@mit.edu>
* k5-int.h (krb5int_des_init_state): Change variable name in
{
return (struct sockaddr_in *) ss;
}
+#ifdef KRB5_USE_INET6
static __inline__ struct sockaddr_in6 *ss2sin6 (struct sockaddr_storage *ss)
{
return (struct sockaddr_in6 *) ss;
}
+#endif
#else
#define sa2sin(S) ((struct sockaddr_in *)(S))
#define sa2sin6(S) ((struct sockaddr_in6 *)(S))